Browse Source

httpClient: timeout

Yi 1 year ago
parent
commit
71606dd152
1 changed files with 1 additions and 1 deletions
  1. 1 1
      model/group_pasture.go

+ 1 - 1
model/group_pasture.go

@@ -129,7 +129,7 @@ func NewPastureClient(g *GroupPasture) *PastureClient {
 	return &PastureClient{
 		Detail: g,
 		authClient: &http.Client{
-			Timeout: time.Duration(5) * time.Second,
+			Timeout: time.Duration(10) * time.Second,
 		},
 	}
 }