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
8c743d40ef
commit
d13f9da212
@@ -936,7 +936,7 @@ public class LettuceConnection extends AbstractRedisConnection {
|
||||
|
||||
RedisClusterAsyncCommands<byte[], byte[]> getAsyncConnection() {
|
||||
|
||||
if (isQueueing()) {
|
||||
if (isQueueing() || isPipelined()) {
|
||||
return getAsyncDedicatedConnection();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user