resty-redis-cluster icon indicating copy to clipboard operation
resty-redis-cluster copied to clipboard

Why not use set_timeouts(connect_timeout, send_timeout, read_timeout) of lua-resty-redis?

Open snpcp opened this issue 4 years ago • 4 comments

Hello,

I see we using set_timeout() for resty-redis-cluster.

However, in lua-resty-redis 'https://github.com/openresty/lua-resty-redis#set_timeout', It suggests that we use set_timeouts.

Could you tell me your think?

Thanks.

snpcp avatar Jun 05 '20 01:06 snpcp

I had issues getting set_timeout to work as described in #56

toredash avatar Jul 06 '20 07:07 toredash

Thanks for your tell me, I will keep watching the issue.

snpcp avatar Jul 06 '20 09:07 snpcp

This is now implemented as part of https://github.com/steve0511/resty-redis-cluster/pull/65

vinayakhulawale avatar Aug 28 '20 10:08 vinayakhulawale

Very good, I'm going to use the implemented code in my project. Thanks.

snpcp avatar Aug 28 '20 10:08 snpcp