Describe the bug
I have run into an integer overflow error in producer.rs, it appears that the 'val' created on line 232 should be set to usize rather than determined by the compiler.
Reproduction steps
- Create a queue with a max size of 25GB
- Async create producers (max 16 at a time)
- Push 50,000+ messages per producer
- When queue length is greater than 300,000 eventually the error will occur
Expected behavior
Integers to be allocated of the maximum necessary size, potentially at usize maximum.
Additional context
No response