ioredis icon indicating copy to clipboard operation
ioredis copied to clipboard

commandTimeout should not be enabled for blocking commands

Open shaharmor opened this issue 3 years ago • 0 comments

When using commandTimeout with blocking commands, the blocked command (blpop for example), will also terminate with the timeout if it happens before the command is successful.

I think this should be excluded from the commandTimeout as blocking commands are there exactly for the reason of "waiting".

shaharmor avatar Aug 08 '22 08:08 shaharmor