aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-05-07 04:59:00 +0800
committerFelix Lange <fjl@twurst.com>2015-05-07 04:59:00 +0800
commitbcfd7886619c9bc16f523f89ddd012cb53aa7159 (patch)
tree6af6b88aaf59e4d0b684ff0f2f8d0667081319ed /p2p
parentfd4b75cfa8e1b5de9eba9ea4dc89cfe3bb291a91 (diff)
downloaddexon-bcfd7886619c9bc16f523f89ddd012cb53aa7159.tar
dexon-bcfd7886619c9bc16f523f89ddd012cb53aa7159.tar.gz
dexon-bcfd7886619c9bc16f523f89ddd012cb53aa7159.tar.bz2
dexon-bcfd7886619c9bc16f523f89ddd012cb53aa7159.tar.lz
dexon-bcfd7886619c9bc16f523f89ddd012cb53aa7159.tar.xz
dexon-bcfd7886619c9bc16f523f89ddd012cb53aa7159.tar.zst
dexon-bcfd7886619c9bc16f523f89ddd012cb53aa7159.zip
p2p/discover: bump packet timeouts to 500ms
Diffstat (limited to 'p2p')
-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