Skip to main content

DEFAULT_MAX_WS_FRAMES_COUNT

Constant DEFAULT_MAX_WS_FRAMES_COUNT 

Source
pub const DEFAULT_MAX_WS_FRAMES_COUNT: usize = 6000; // 6_000usize
Expand description

The default maximum number of WebSocket frames. This constant defines the maximum number of WebSocket frames that can be processed in a single operation to prevent resource exhaustion.