Skip to content

Commit

Permalink
#29: update http client
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger12 committed Dec 22, 2023
1 parent acac5bd commit 3f8bf68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/providers/openai/openaiclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ var (
)

var httpClient = &http.Client{
Timeout: time.Second * 60,
Timeout: time.Second * 30,
Transport: &http.Transport{
MaxIdleConns: 90,
MaxIdleConnsPerHost: 5,
MaxIdleConns: 100,
MaxIdleConnsPerHost: 2,
},
}

Expand Down

0 comments on commit 3f8bf68

Please sign in to comment.