Automatically switch to use dedicated connections for DoMulti() with 2000+ commands by default to avoid head-of-line blocking. The threshold can be adjusted with the new BlockingPipeline option.
The switch is done at the mux level so that users don't need to use Dedicated manually and no more cross slot errors.
Related to https://github.com/redis/rueidis/issues/626
Automatically switch to use dedicated connections for
DoMulti()
with 2000+ commands by default to avoid head-of-line blocking. The threshold can be adjusted with the newBlockingPipeline
option.The switch is done at the
mux
level so that users don't need to useDedicated
manually and no morecross slot
errors.