Skip to content

Commit

Permalink
use default client instead of pooled and lower the connections to 5 p…
Browse files Browse the repository at this point in the history
…er host
  • Loading branch information
dekm committed Dec 7, 2023
1 parent 1ea2b19 commit 5b9f7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/httpclient/http_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ func init() {
transport.MaxIdleConnsPerHost = 5 // Set a limit for idle connections per host

// Setting a timeout for the client
Client.Timeout = 15 * time.Second
Client.Timeout = 5 * time.Second
}

0 comments on commit 5b9f7e0

Please sign in to comment.