sethvargo / go-limiter

A supersonic rate limiting package for Go with HTTP middleware.
Apache License 2.0
555 stars 40 forks source link

Calling back the server time can cause an exception in the flow limit… #42

Closed yujiangjiang closed 7 months ago

yujiangjiang commented 1 year ago

…ing mechanism

If the server time is adjusted back, we need to update the startTime of the bucket and reset the lastTick to 0

yujiangjiang commented 1 year ago

image