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
996f42cd1c
commit
9258b582c9
@@ -943,7 +943,7 @@ public class LettuceConnection extends AbstractRedisConnection {
|
||||
}
|
||||
|
||||
RedisClusterAsyncCommands<byte[], byte[]> getAsyncConnection() {
|
||||
if (isQueueing()) {
|
||||
if (isQueueing() || isPipelined()) {
|
||||
return getAsyncDedicatedConnection();
|
||||
}
|
||||
if (asyncSharedConn != null) {
|
||||
|
||||
Reference in New Issue
Block a user