Bump odlparent to 5.0.0
[controller.git] / opendaylight / md-sal / cds-access-client / src / main / java / org / opendaylight / controller / cluster / access / client / ReconnectingClientConnection.java
index b59c9e324ae96b73cf28dc568a1147c3603dc3ee..acf876b6ce6eb3f85b9c7a2753f254aae878ddbf 100644 (file)
@@ -30,9 +30,16 @@ public final class ReconnectingClientConnection<T extends BackendInfo> extends A
     }
 
     @Override
+    long backendSilentTicks(final long now) {
+        // We do not want to reconnect this connection, as we need the timer to to keep running
+        return 0;
+    }
+
+    @Override
+    @SuppressWarnings("checkstyle:hiddenField")
     ClientActorBehavior<T> lockedReconnect(final ClientActorBehavior<T> current, final RequestException cause) {
         this.cause = Preconditions.checkNotNull(cause);
-        LOG.debug("Skipping reconnect of already-reconnecting connection {}", this);
+        LOG.warn("Skipping reconnect of already-reconnecting connection {}", this);
         return current;
     }