Skip to main content

PUBLISH_QUEUE_CAPACITY

Constant PUBLISH_QUEUE_CAPACITY 

Source
const PUBLISH_QUEUE_CAPACITY: usize = 1_000;
Expand description

Bounded channel capacity for fire-and-forget publishes. If the drainer can’t keep up, new publishes are dropped with a warn! (best-effort delivery, matching PushNotificationService).