folly::EventBaseAtomicNotificationQueue::setMaxReadAtOnce

Set the maximum number of tasks processed in a single round. Can be called from consumer thread only.

Synopsis

Declared in <folly/io/async/EventBaseAtomicNotificationQueue.h>

void
setMaxReadAtOnce(uint32_t maxAtOnce);

Parameters

NameDescription
maxAtOnceThe maximum number of tasks processed per round.