Skip to content

Commit 42a4e81

Browse files
committed
fix: increase upload file timeout to 5 minutes
1 parent 5059a09 commit 42a4e81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/serv/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (c *SignerClient) uploadFile(url, filePath string) error {
242242
req.Header.Set("Authorization", "Bearer "+c.token)
243243

244244
client := &http.Client{
245-
Timeout: 60 * time.Second,
245+
Timeout: 5 * time.Minute,
246246
}
247247
resp, err := client.Do(req)
248248
if err != nil {

0 commit comments

Comments
 (0)