@@ -961,14 +961,7 @@ public class LettuceConnection extends AbstractRedisConnection {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
protected StatefulConnection<byte[], byte[]> doGetAsyncDedicatedConnection() {
|
||||
|
||||
StatefulConnection<byte[], byte[]> connection = getConnectionProvider().getConnection(StatefulConnection.class);
|
||||
|
||||
if (customizedDatabaseIndex()) {
|
||||
potentiallySelectDatabase(connection, this.dbIndex);
|
||||
}
|
||||
|
||||
return connection;
|
||||
return getConnectionProvider().getConnection(StatefulConnection.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user