Closed FlatMapIO closed 2 years ago
LimitCounter requireswindowLength to determine whether to evict the key expired. The external counter implementation needs to hold the same duplicatewindowLength as the Limit(_ , windowLength)
LimitCounter
windowLength
Limit(_ , windowLength)
Done in https://github.com/go-chi/httprate/commit/7d704b44c6fc321fc44dc67fbcfe83473990dd8a
added Config(..)
LimitCounter
requireswindowLength
to determine whether to evict the key expired. The external counter implementation needs to hold the same duplicatewindowLength
as theLimit(_ , windowLength)