diff options
author | Felix Lange <fjl@twurst.com> | 2015-05-07 04:59:00 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-05-07 04:59:00 +0800 |
commit | bcfd7886619c9bc16f523f89ddd012cb53aa7159 (patch) | |
tree | 6af6b88aaf59e4d0b684ff0f2f8d0667081319ed /p2p/discover | |
parent | fd4b75cfa8e1b5de9eba9ea4dc89cfe3bb291a91 (diff) | |
download | go-tangerine-bcfd7886619c9bc16f523f89ddd012cb53aa7159.tar.gz go-tangerine-bcfd7886619c9bc16f523f89ddd012cb53aa7159.tar.zst go-tangerine-bcfd7886619c9bc16f523f89ddd012cb53aa7159.zip |
p2p/discover: bump packet timeouts to 500ms
Diffstat (limited to 'p2p/discover')
-rw-r--r-- | p2p/discover/udp.go | 4 |
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 |