Skip to content

Commit

Permalink
Remove duplicated ConnectionWatchdog #1132
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Kharitonov authored and mp911de committed Sep 25, 2019
1 parent 97700e8 commit 21f9667
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/io/lettuce/core/ConnectionBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ protected List<ChannelHandler> 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()) {
Expand Down

0 comments on commit 21f9667

Please sign in to comment.