Browse Source

lib/discover: Increase global discovery timeout (#8303)

Simon Frei 3 years ago
parent
commit
6a7fc49c6b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/discover/global.go

+ 1 - 1
lib/discover/global.go

@@ -46,7 +46,7 @@ type httpClient interface {
 const (
 const (
 	defaultReannounceInterval             = 30 * time.Minute
 	defaultReannounceInterval             = 30 * time.Minute
 	announceErrorRetryInterval            = 5 * time.Minute
 	announceErrorRetryInterval            = 5 * time.Minute
-	requestTimeout                        = 5 * time.Second
+	requestTimeout                        = 30 * time.Second
 	maxAddressChangesBetweenAnnouncements = 10
 	maxAddressChangesBetweenAnnouncements = 10
 )
 )