We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 294891b + e763232 commit 38ed437Copy full SHA for 38ed437
src/main/java/io/nats/client/impl/NatsConnection.java
@@ -638,7 +638,7 @@ public void run() {
638
}
639
640
this.currentServer = cur;
641
- this.serverAuthErrors.remove(resolved); // reset on successful connection
+ this.serverAuthErrors.clear(); // reset on successful connection
642
updateStatus(Status.CONNECTED); // will signal status change, we also signal in finally
643
} finally {
644
statusLock.unlock();
0 commit comments