Skip to content

Commit

Permalink
revert commit 1de4c18
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorerlingsson committed May 27, 2024
1 parent 136b743 commit cae4655
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion spec/replication_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ describe LavinMQ::Replication::Client do
repli.follow("127.0.0.1", LavinMQ::Config.instance.replication_port)
done.send nil
end
wait_for { Server.followers.size == 1 }
with_channel do |ch|
q = ch.queue("repli")
q.publish_confirm "hello world"
Expand Down
1 change: 0 additions & 1 deletion src/lavinmq/replication/server.cr
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ module LavinMQ
end

def append(path : String, file : MFile, position : Int32, length : Int32)
return if @followers.empty?
append path, FileRange.new(file, position, length)
end

Expand Down

0 comments on commit cae4655

Please sign in to comment.