echo
echo copied to clipboard
fix(middleware): Fix Allow method of RateLimiterMemoryStore
What
Modify (*RateLimiterMemoryStore).Allow method in rate limiter middleware.
Why
Currently, Allow method acts unexpected behavior that it denies the request nevertheless subtract of lastSeen and now exceeds expiresIn.