chore(chatgpt): change request timeout from 20 to 30 seconds
This commit is contained in:
@@ -68,7 +68,7 @@ Job description:
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
req.Header.Set("Authorization", "Bearer "+apiKey)
|
||||
|
||||
client := &http.Client{Timeout: 20 * time.Second}
|
||||
client := &http.Client{Timeout: 30 * time.Second}
|
||||
res, err := client.Do(req)
|
||||
if err != nil {
|
||||
return GeneratedCover{}, err
|
||||
|
||||
Reference in New Issue
Block a user