From 7bad4ad194fed55a0d58f6a49f0c19fa7032a6cf Mon Sep 17 00:00:00 2001 From: Evgeny Kharitonov Date: Mon, 23 Sep 2019 23:07:58 +0300 Subject: [PATCH] remove duplicated ConnectionWatchdog --- 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 1cca1697e2..c272876290 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()) {