Skip to content

Commit

Permalink
drop unused literals
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhoerberg committed Dec 10, 2024
1 parent bd8b4f9 commit 256e916
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/lavinmq/amqp/queue/delayed_exchange_queue.cr
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"./queue"
require "./durable_queue"
require "./queue"

module LavinMQ::AMQP
class DelayedExchangeQueue < Queue
Expand Down
1 change: 0 additions & 1 deletion src/lavinmq/amqp/queue/message_store.cr
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ module LavinMQ
end
mfile.delete(raise_on_missing: false).close
@replicator.try &.delete_file(mfile.path)
true
end
Fiber.yield
end
Expand Down
1 change: 0 additions & 1 deletion src/lavinmq/etcd.cr
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ module LavinMQ

def lease_revoke(id) : Nil
post("/v3/lease/revoke", body: %({"ID":"#{id}"}))
true
end

# Leader election campaign
Expand Down

0 comments on commit 256e916

Please sign in to comment.