membphis opened a new issue #1315: change: enable the `backlog` parameter to control the total number of concurrent connections URL: https://github.com/apache/incubator-apisix/issues/1315 ## plugin `limit-count` with `redis` https://github.com/apache/incubator-apisix/blob/master/lua/apisix/plugins/limit-count/limit-count-redis.lua#L50 ## Reference doc backlog if specified, this module will limit the total number of opened connections for this pool. No more connections than pool_size can be opened for this pool at any time. If the connection pool is full, subsequent connect operations will be queued into a queue equal to this option's value (the "backlog" queue). If the number of queued connect operations is equal to backlog, subsequent connect operations will fail and return nil plus the error string "too many waiting connect operations". The queued connect operations will be resumed once the number of connections in the pool is less than pool_size. The queued connect operation will abort once they have been queued for more than connect_timeout, controlled by settimeouts, and will return nil plus the error string "timeout". This option was first introduced in the v0.10.14 release. https://github.com/openresty/lua-nginx-module#tcpsockconnect
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services