Method SetLimit
SetLimit(Double)
Configures rate limiter by setting its limit in units per second.
Declaration
public void SetLimit(double limitPerSecond)
Parameters
Type | Name | Description |
---|---|---|
Double | limitPerSecond | Limit in units per second |
Implements
Remarks
This method also enforces minimum duration to be able to store at
least one unused unit. When changing table limits, this method
will prorate any unused units according to the new limit.