From 21f96672ba1ed93ddec99f095d77be1f70a6bf66 Mon Sep 17 00:00:00 2001 From: Evgeny Kharitonov Date: Mon, 23 Sep 2019 23:07:58 +0300 Subject: [PATCH] Remove duplicated ConnectionWatchdog #1132 --- src/main/java/io/lettuce/core/ConnectionBuilder.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/io/lettuce/core/ConnectionBuilder.java b/src/main/java/io/lettuce/core/ConnectionBuilder.java index 001e2a6513..efa1f8142c 100644 --- a/src/main/java/io/lettuce/core/ConnectionBuilder.java +++ b/src/main/java/io/lettuce/core/ConnectionBuilder.java @@ -79,10 +79,6 @@ protected List buildHandlers() { handlers.add(new CommandEncoder()); handlers.add(commandHandlerSupplier.get()); - if (clientOptions.isAutoReconnect()) { - handlers.add(createConnectionWatchdog()); - } - handlers.add(new ConnectionEventTrigger(connectionEvents, connection, clientResources.eventBus())); if (clientOptions.isAutoReconnect()) {