diff --git a/connection_maker.go b/connection_maker.go index b65a21a9..58763f99 100644 --- a/connection_maker.go +++ b/connection_maker.go @@ -136,6 +136,7 @@ func (cm *ConnectionMaker) checkStateAndAttemptConnections(now time.Time) { cm.addToTargets(address) } + now = time.Now() // make sure we catch items just added for address, target := range cm.targets { if target.state == CSUnconnected { if our_connected_targets[address] || !validTarget[address] {