|
|
|
@ -361,9 +361,7 @@ abstract class ConnectionPool<T extends RedisConnection> {
|
|
|
|
|
|
|
|
|
|
connectionManager.getConnectionEventsHub().fireDisconnect(entry.getClient().getAddr());
|
|
|
|
|
|
|
|
|
|
connectionManager.newTimeout(new TimerTask() {
|
|
|
|
|
@Override
|
|
|
|
|
public void run(Timeout timeout) throws Exception {
|
|
|
|
|
connectionManager.newTimeout(timeout -> {
|
|
|
|
|
synchronized (entry) {
|
|
|
|
|
if (entry.getFreezeReason() != FreezeReason.RECONNECT
|
|
|
|
|
|| connectionManager.isShuttingDown()) {
|
|
|
|
@ -410,7 +408,6 @@ abstract class ConnectionPool<T extends RedisConnection> {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, config.getFailedSlaveReconnectionInterval(), TimeUnit.MILLISECONDS);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|