Skip to main content

REQUEST_RESPONSE_CHANNEL_CAPACITY

Constant REQUEST_RESPONSE_CHANNEL_CAPACITY 

Source
const REQUEST_RESPONSE_CHANNEL_CAPACITY: usize = 256;
Expand description

Inbound request-response messages are dropped (not queued) when this channel is full. A node catching up has many batched requests in flight, each answered by up to request_batch_size peers per batch interval, so this must comfortably exceed that fan-in.