gxthrj commented on a change in pull request #1372: modify: specify pool_size 
and backlog for plugin
URL: https://github.com/apache/incubator-apisix/pull/1372#discussion_r400604186
 
 

 ##########
 File path: lua/apisix/plugins/limit-count/limit-count-redis.lua
 ##########
 @@ -47,7 +47,8 @@ function _M.incoming(self, key)
 
     red:set_timeouts(timeout, timeout, timeout)
 
-    local ok, err = red:connect(conf.redis_host, conf.redis_port or 6379)
+    local options = {pool_size = 1000, backlog = 1000}
 
 Review comment:
   done

----------------------------------------------------------------
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

Reply via email to