소스 검색

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,
 		},
 	}
 }