pub const QUEUE_BATCH_LIMIT: usize = 64;
The maximum number of batches in the queue.
This avoids having very large queues on machines with hundreds or thousands of cores.