chao6118 opened a new issue, #12929:
URL: https://github.com/apache/apisix/issues/12929
### Description
limit-count-redis.lua 这个文件下的代码如果中间有err直接返回了 没有调用set_keepalive会有问题嘛?
local ttl = 0
res, err = red:eval(script, 1, key, limit, window, cost or 1)
if err then
return nil, err, ttl
end
local remaining = res[1]
ttl = res[2]
local ok, err = red:set_keepalive(10000, 100)
### Environment
- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]