ioredis
ioredis copied to clipboard
commandTimeout should not be enabled for blocking commands
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".