Explorar o código

Merge pull request #1550 from jonboulle/bump_timeout

etcdhttp: bump default Server timeout to 5 mins
Jonathan Boulle %!s(int64=11) %!d(string=hai) anos
pai
achega
1bb07115f2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      etcdserver/etcdhttp/http.go

+ 1 - 1
etcdserver/etcdhttp/http.go

@@ -29,7 +29,7 @@ import (
 
 const (
 	// time to wait for response from EtcdServer requests
-	defaultServerTimeout = 500 * time.Millisecond
+	defaultServerTimeout = 5 * time.Minute
 
 	// time to wait for a Watch request
 	defaultWatchTimeout = 5 * time.Minute