Skip to main content

MAX_EMPTY_BATCHES_PER_POLL

Constant MAX_EMPTY_BATCHES_PER_POLL 

Source
const MAX_EMPTY_BATCHES_PER_POLL: usize = 32;
Expand description

How many empty batches one poll reads before yielding, so a stream of them cannot hold the task.