Continue after we establish that there is nothing left to do for failedCOnnection

This commit is contained in:
Bryan Boreham committed 2014-09-05 18:28:42 +01:00
1 parent 5c7010625a
commit 783ee21461
1 file changed
+1
+1
View File
@@ -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