Closed NivLipetz closed 3 years ago
Hi @NivLipetz. The PR looks good. we also use this client and need this feature ! did you test it locally under load ?
Thanks @shyimo , we tested this under load with 1000RPS and it acts as expected, instead of taking 20+seconds for each request, the requests timeout after 10-12seconds with the 10second max_connection_timeout
configuration
LGTM, thanks for contributing.
Happy to contribute 🙂
@steve0511 do you have any estimations as to when you will release this to luarocks? We would like to install this pkg with the fix for our deployments. Thx again!
@NivLipetz updated luarocks.
closes #84
incase we want to be in control of how long it takes us to connect to a redis cluster, we should be able to control the timeout time, this PR includes this functionality.
This is the error message that is logged when a timeout happens: