summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/peer.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/peer.go b/server/peer.go
index 25411333..c99f5fd2 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -793,7 +793,6 @@ func (peer *Peer) connectLoop() error {
case <-ticker.C:
connect()
case <-peer.getActiveCh:
- connect()
ticker = time.NewTicker(time.Duration(tick) * time.Second)
}
}