Ensure all pipelined commands use a dedicated connection to avoid lingering commands when using pipelining with flushing customization.
Original Pull Request: #2088
This commit is contained in:
committed by
Christoph Strobl
parent
4cf24a1e11
commit
d9c446e844
@@ -935,7 +935,7 @@ public class LettuceConnection extends AbstractRedisConnection {
|
||||
|
||||
RedisClusterAsyncCommands<byte[], byte[]> getAsyncConnection() {
|
||||
|
||||
if (isQueueing()) {
|
||||
if (isQueueing() || isPipelined()) {
|
||||
return getAsyncDedicatedConnection();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user