From 783ee2146170f10a980a1a1243b01bad1e64c3d6 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Fri, 5 Sep 2014 18:28:42 +0100 Subject: [PATCH] Continue after we establish that there is nothing left to do for failedCOnnection --- connection_maker.go | 1 + 1 file changed, 1 insertion(+) diff --git a/connection_maker.go b/connection_maker.go index 57aa6ef8..f597bb17 100644 --- a/connection_maker.go +++ b/connection_maker.go @@ -92,6 +92,7 @@ func (cm *ConnectionMaker) queryLoop(queryChan <-chan *ConnectionMakerInteractio continue } else if len(failedConn.foundAt) == 0 { delete(cm.failedConnections, name) + continue } else if failedConn.attemptCount == MaxAttemptCount { delete(cm.failedConnections, name) continue