Skip to main content

Module limits

Module limits 

Source
Expand description

The venue’s per-IP limits, the part of them one session holds (Limits), and why a session sends nothing (Refused).

Structs§

Limits
What one session may hold. Limits::VENUE is the whole of an IP’s allowance; a session sharing the IP with others takes a part of it.

Enums§

Refused
Why nothing was sent.

Constants§

MAX_CONNECTIONS
Websocket connections an IP may hold.
MAX_INFLIGHT_POSTS
Posts an IP may have waiting for an answer across its connections.
MAX_MESSAGES_PER_MINUTE
Messages an IP may send a minute across its connections.
MAX_NEW_CONNECTIONS_PER_MINUTE
New websocket connections an IP may open a minute.
MAX_SUBSCRIPTIONS
Subscriptions an IP may hold across its connections.
MAX_USERS
Distinct users an IP’s user subscriptions may name.