Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorerlingsson committed Jan 27, 2025
1 parent 5222c9e commit 397222e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/stream_queue_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ describe LavinMQ::AMQP::StreamQueue do
StreamQueueSpecHelpers.publish(s, queue_name, 1)
data_dir = File.join(s.vhosts["/"].data_dir, Digest::SHA1.hexdigest queue_name)
msg_store = LavinMQ::AMQP::StreamQueue::StreamQueueMessageStore.new(data_dir, nil)
one_offset_bytesize = "#{consumer_tag_prefix}#{1000}".bytesize + 1 + 8
one_offset_bytesize = "#{consumer_tag_prefix}1000".bytesize + 1 + 8
offsets = (LavinMQ::Config.instance.segment_size / one_offset_bytesize).to_i32 + 1
bytesize = 0
offsets.times do |i|
Expand Down

0 comments on commit 397222e

Please sign in to comment.