go-limiter icon indicating copy to clipboard operation
go-limiter copied to clipboard

Calling back the server time can cause an exception in the flow limiting mechanism

Open yujiangjiang opened this issue 2 years ago • 1 comments

image If the server time is adjusted to a previous time, the condition 'b. lastTick<currTick' will not occur, and 'b. availabilityTokens' will quickly drop to 0, and subsequent requests will be restricted from accessing

yujiangjiang avatar Oct 30 '23 06:10 yujiangjiang

Pull Requests are welcome!

sethvargo avatar Oct 30 '23 06:10 sethvargo