node-redis icon indicating copy to clipboard operation
node-redis copied to clipboard

is there a way to specify command timeout while creating the node client?

Open agarwalarjun123 opened this issue 3 years ago • 7 comments

I could not find a way to add a timeout for a command being executed. can I set it while creating the client or during command execution?

agarwalarjun123 avatar Jul 01 '22 10:07 agarwalarjun123

We don't have it right now, but it think it'll be nice to have @guyroyse @simonprickett @chayim WDUT?

leibale avatar Jul 05 '22 15:07 leibale

Seems like a straightforward thing to add. Doesn't break backwards compatibility. Sounds good to me.

guyroyse avatar Jul 05 '22 19:07 guyroyse

I would also be interested in having an option for this.

bmeverett avatar Jul 20 '22 01:07 bmeverett