mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-06 23:30:29 +00:00
chore(gRPC): fetch new stage data.
Signed-off-by: Bo-Yi.Wu <[email protected]>
This commit is contained in:
1 parent
6030610c04
commit
631f801aa6
2 files changed
+8
-7
No files matched your search
+1
-1
@@ -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
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user