Don't start a new connection attempt until all in-flight attempts for this peer have finished

Also cleaned up the naming slightly
This commit is contained in:
Bryan Boreham committed 2014-09-05 14:26:42 +01:00
1 parent 4f0741376d
commit 54d7972b5e
2 files changed
+20 -8

No files matched your search

+1 -1
View File
@@ -169,7 +169,7 @@ type ConnectionMaker struct {
queryChan chan<- *ConnectionMakerInteraction
activeConnections map[string]string
failedConnections map[PeerName]*FailedConnection
attemptingConnections map[ConnectionMakerPair]bool
attempting map[ConnectionMakerPair]bool
}
type FailedConnection struct {