Skip to main content

register_throttle_layer

Function register_throttle_layer 

pub fn register_throttle_layer(registry: &OperatorRegistry)
Available on crate feature layers-throttle only.
Expand description

Register the throttle layer with an operator registry.

Requires positive u32 values for bandwidth in bytes per second and burst in bytes. Operators loaded separately have independent quotas.