ShenAoScript opened a new issue #3602:
URL: https://github.com/apache/apisix/issues/3602
### Issue description
About current limiting algorithm
### Environment
* apisix version (cmd: `apisix version`): 2.0+
* OS (cmd: `uname -a`):centos7
Now the plugin "limit-req" algorithm is
` if delay >= 0.001 then
sleep(delay)
end`
If I turn it intoļ¼
` if delay >= 0.001 then
--sleep(delay)
end`
so, the leaky bucket becomes the token bucket ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]