openresty/lua-resty-redis

an "closed" err occured useing get_reused_times() ,how to solve the problem

Bilebin opened this issue · 2 comments

There are no errors when there are fewer requests, and errors occur when there are many requests

please show some code or nginx error_log,

I have repeated this problem. In the case of large concurrency, the connect() method has returned timeout, but it returns without judging the error returned by connect. Continue to call get_reused_times() will return closed