aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/discover
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-07 05:49:52 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-07 05:49:52 +0800
commita0cb1945aeac215b1909ff0063b66171ebe73c70 (patch)
treefc07f2354402ef786a4196c3a4d29be7d703806c /p2p/discover
parentb719801db0bc80b49f05b249e2d4cf322c09eb24 (diff)
parent3e2a928caa74e523f43e14eec9918033ac1cbe0a (diff)
downloaddexon-a0cb1945aeac215b1909ff0063b66171ebe73c70.tar
dexon-a0cb1945aeac215b1909ff0063b66171ebe73c70.tar.gz
dexon-a0cb1945aeac215b1909ff0063b66171ebe73c70.tar.bz2
dexon-a0cb1945aeac215b1909ff0063b66171ebe73c70.tar.lz
dexon-a0cb1945aeac215b1909ff0063b66171ebe73c70.tar.xz
dexon-a0cb1945aeac215b1909ff0063b66171ebe73c70.tar.zst
dexon-a0cb1945aeac215b1909ff0063b66171ebe73c70.zip
Merge pull request #866 from fjl/p2p-last-minute
Last minute p2p fixes
Diffstat (limited to 'p2p/discover')
-rw-r--r--p2p/discover/udp.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/p2p/discover/udp.go b/p2p/discover/udp.go
index 7213325da..1213c12c8 100644
--- a/p2p/discover/udp.go
+++ b/p2p/discover/udp.go
@@ -31,8 +31,8 @@ var (
// Timeouts
const (
- respTimeout = 300 * time.Millisecond
- sendTimeout = 300 * time.Millisecond
+ respTimeout = 500 * time.Millisecond
+ sendTimeout = 500 * time.Millisecond
expiration = 20 * time.Second
refreshInterval = 1 * time.Hour