ソースを参照

httpClient: timeout

Yi 1 年間 前
コミット
71606dd152
1 ファイル変更1 行追加1 行削除
  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,
 		},
 	}
 }