Skip to content

Commit

Permalink
Update BoundedQueue.h
Browse files Browse the repository at this point in the history
  • Loading branch information
odygrd authored Oct 31, 2023
1 parent 1949975 commit b51cac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quill/include/quill/detail/spsc_queue/BoundedQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class BoundedQueueImpl
public:
using integer_type = T;

QUILL_ALWAYS_INLINE explicit BoundedQueueImpl(integer_type capacity, bool huge_pages = false, integer_type batch_num = 4)
QUILL_ALWAYS_INLINE explicit BoundedQueueImpl(integer_type capacity, bool huge_pages = false, integer_type batch_num = 32)
: _capacity(next_power_of_2(capacity)),
_mask(_capacity - 1),
_bytes_per_batch_mask((_capacity / batch_num) - 1),
Expand Down

0 comments on commit b51cac3

Please sign in to comment.