go-limiter
go-limiter copied to clipboard
Calling back the server time can cause an exception in the flow limiting mechanism
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
Pull Requests are welcome!