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 21:32:56 +0800
commitd82594250e47a32869d0b55b9da13c80e1703026 (patch)
tree17ea87c959db5bdbc66d67bdc4a09cce0057ce06
parent85d3ca56cbca94c9f78e59fc19791bed9be5b11e (diff)
downloaddexon-d82594250e47a32869d0b55b9da13c80e1703026.tar
dexon-d82594250e47a32869d0b55b9da13c80e1703026.tar.gz
dexon-d82594250e47a32869d0b55b9da13c80e1703026.tar.bz2
dexon-d82594250e47a32869d0b55b9da13c80e1703026.tar.lz
dexon-d82594250e47a32869d0b55b9da13c80e1703026.tar.xz
dexon-d82594250e47a32869d0b55b9da13c80e1703026.tar.zst
dexon-d82594250e47a32869d0b55b9da13c80e1703026.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
}