Skip to main content

DEFAULT_CAPACITY

Constant DEFAULT_CAPACITY 

Source
pub const DEFAULT_CAPACITY: u32 = 60;
Expand description

Default bucket capacity — the burst size. 60 tokens lets a busy operator run ~20 /v2/status renders (cost 3 each) in a tight burst without hitting the floor, which covers the observed peak-typing pattern (rapid /status + /risk + /positions walk at session open).