FixedWindowCounter

constructor(totalPermits: Int, replenishmentPeriod: Duration, queueLength: Int)(source)

Parameters

replenishmentPeriod

The time period that the rate limiter will use to reset the counter.