aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-01-09 13:38:08 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:21 +0800
commit8426a6bcab1158433f743348d35dcf01016d5ac2 (patch)
tree011e120eb0980755c5d21e625a36c2c7e1b4c6d6
parentae6b80de810fbe3e1dc6a2b985cf949881ec24a9 (diff)
downloadgo-tangerine-8426a6bcab1158433f743348d35dcf01016d5ac2.tar
go-tangerine-8426a6bcab1158433f743348d35dcf01016d5ac2.tar.gz
go-tangerine-8426a6bcab1158433f743348d35dcf01016d5ac2.tar.bz2
go-tangerine-8426a6bcab1158433f743348d35dcf01016d5ac2.tar.lz
go-tangerine-8426a6bcab1158433f743348d35dcf01016d5ac2.tar.xz
go-tangerine-8426a6bcab1158433f743348d35dcf01016d5ac2.tar.zst
go-tangerine-8426a6bcab1158433f743348d35dcf01016d5ac2.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
}