Skip to main content

DEFAULT_QUOTA

Constant DEFAULT_QUOTA 

Source
pub const DEFAULT_QUOTA: usize = 512;
Expand description

Default ceiling on one actor’s ops awaiting a decision.

Deliberately generous, at twice the sequencer’s 256-op batch. The quota’s job is to stop a runaway, not to shape traffic, and try_submit_many exists precisely so a client can offer a large group at once — a ceiling that made the batch endpoint reject its own documented usage would be a bug wearing a policy’s clothes. An operator who wants sharper fairness lowers it with Quotas::set_limit.