Преглед изворни кода

etcdhttp: bump default Server timeout to 5 mins

Jonathan Boulle пре 11 година
родитељ
комит
9726d3909c
1 измењених фајлова са 1 додато и 1 уклоњено
  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