chore(gRPC): fetch new stage data.

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi.Wu
2022-09-03 15:59:44 +08:00
committed by Jason Song
parent 6030610c04
commit 631f801aa6
2 changed files with 8 additions and 7 deletions

View File

@ -31,7 +31,7 @@ func New(endpoint, secret string, skipverify bool, opts ...Option) *HTTPClient {
}
client.Client = &http.Client{
Timeout: 5 * time.Second,
Timeout: 1 * time.Minute,
CheckRedirect: func(*http.Request, []*http.Request) error {
return http.ErrUseLastResponse
},