Skip to main content

WS_DEFAULT_SUBSCRIPTIONS

Constant WS_DEFAULT_SUBSCRIPTIONS 

Source
pub const WS_DEFAULT_SUBSCRIPTIONS: usize = 200;
Expand description

Default per-connection market subscription cap.

A conservative, self-chosen reliability bound, not a venue limit: Polymarket documents no per-connection cap, and high per-connection counts have been observed to silently stall a connection. The market pool shards across connections at this bound.