oa_gateway_core

Constant DEFAULT_CHANNEL_CAPACITY

Source
pub const DEFAULT_CHANNEL_CAPACITY: usize = 64;
Expand description

Capacity of each subscriber delivery channel.

Engine::publish uses try_send. A full channel drops that delivery rather than blocking the publisher. Adapters that can be slower than their traffic should read on a dedicated task and buffer on their own terms.