aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-01-09 13:38:08 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:50:01 +0800
commit6ef98fe1f1dc5bc2117e8257760cefaa0797b1ff (patch)
treecf3a4a614b91853cdb8d4b1f6e5039debb324b31
parenta5f2866bd0d005064b57620c0e9c1bd2a3beaafd (diff)
downloaddexon-6ef98fe1f1dc5bc2117e8257760cefaa0797b1ff.tar.gz
dexon-6ef98fe1f1dc5bc2117e8257760cefaa0797b1ff.tar.zst
dexon-6ef98fe1f1dc5bc2117e8257760cefaa0797b1ff.zip
dex: remove unused log (#136)
* fixup! app: use gcp storage instead of azure for builds (#81) * dex: remove unused log
-rw-r--r--dex/handler.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/dex/handler.go b/dex/handler.go
index 66a0fd7fd..a097605c0 100644
--- a/dex/handler.go
+++ b/dex/handler.go
@@ -1205,10 +1205,6 @@ func (pm *ProtocolManager) peerSetLoop() {
pm.peers.BuildConnection(newRound)
}
round = newRound
- case <-time.After(5 * time.Second):
- pm.peers.lock.Lock()
- pm.peers.dumpPeerLabel("ticker")
- pm.peers.lock.Unlock()
case <-pm.chainHeadSub.Err():
return
}