aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/server.go
diff options
context:
space:
mode:
authorIvan Daniluk <ivan.daniluk@gmail.com>2018-02-23 01:20:28 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-02-23 01:20:28 +0800
commit8522b312210865022618489a46db87df44923d4a (patch)
treeb99236cad783a33d69ba60b804f7c94be17fb0ba /p2p/server.go
parent45352477933d71ec5055504da74547b0cdf0274b (diff)
downloaddexon-8522b312210865022618489a46db87df44923d4a.tar.gz
dexon-8522b312210865022618489a46db87df44923d4a.tar.zst
dexon-8522b312210865022618489a46db87df44923d4a.zip
p2p: remove unused code (#16158)
* p2p: remove unused code * p2p: remove unused imports
Diffstat (limited to 'p2p/server.go')
-rw-r--r--p2p/server.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/p2p/server.go b/p2p/server.go
index 90e92dc05..c41d1dc15 100644
--- a/p2p/server.go
+++ b/p2p/server.go
@@ -36,9 +36,7 @@ import (
)
const (
- defaultDialTimeout = 15 * time.Second
- refreshPeersInterval = 30 * time.Second
- staticPeerCheckInterval = 15 * time.Second
+ defaultDialTimeout = 15 * time.Second
// Connectivity defaults.
maxActiveDialTasks = 16