aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-01-09 13:38:08 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commitb1dc0bc7a87927c5a60f1b640789e1d9217355ef (patch)
treeac45f5cf03d1e17cff2e59bfb368424d6f352fac
parent89b17f1293305ecf7cba6067c3da5cf62dea4dfa (diff)
downloaddexon-b1dc0bc7a87927c5a60f1b640789e1d9217355ef.tar
dexon-b1dc0bc7a87927c5a60f1b640789e1d9217355ef.tar.gz
dexon-b1dc0bc7a87927c5a60f1b640789e1d9217355ef.tar.bz2
dexon-b1dc0bc7a87927c5a60f1b640789e1d9217355ef.tar.lz
dexon-b1dc0bc7a87927c5a60f1b640789e1d9217355ef.tar.xz
dexon-b1dc0bc7a87927c5a60f1b640789e1d9217355ef.tar.zst
dexon-b1dc0bc7a87927c5a60f1b640789e1d9217355ef.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
}