OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
8f2301d
)
Merge pull request #1075 from Bytom/prod
v1.0.3
author
Paladz
<yzhu101@uottawa.ca>
Tue, 19 Jun 2018 03:15:10 +0000
(11:15 +0800)
committer
GitHub
<noreply@github.com>
Tue, 19 Jun 2018 03:15:10 +0000
(11:15 +0800)
Prod
p2p/discover/udp.go
patch
|
blob
|
history
diff --git
a/p2p/discover/udp.go
b/p2p/discover/udp.go
index
3962bb0
..
454128d
100644
(file)
--- a/
p2p/discover/udp.go
+++ b/
p2p/discover/udp.go
@@
-48,7
+48,7
@@
var (
// Timeouts
const (
- respTimeout =
500 * time.Millis
econd
+ respTimeout =
1 * time.S
econd
queryDelay = 1000 * time.Millisecond
expiration = 20 * time.Second