Browse Source

p2p/discover: bump packet timeouts to 500ms

Felix Lange 10 years ago
parent
commit
bcfd788661
1 changed files with 2 additions and 2 deletions
  1. 2 2
      p2p/discover/udp.go

+ 2 - 2
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