commandTimeout should not be enabled for blocking commands
Author: shaharmorCreated Aug 8, 2022Updated Sep 22, 2026
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".
Source: redis/ioredis