Skip to content

Commit

Permalink
remove max conns
Browse files Browse the repository at this point in the history
  • Loading branch information
mh0lt committed Jul 22, 2024
1 parent 6eb9a83 commit 5a41be4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ func (cl *Client) init(cfg *ClientConfig) {
// is set to stop the http runtime recycling sockets

// attempt to avoid panic: net/http: internal error: connCount underflow
//MaxConnsPerHost: 500,
MaxIdleConnsPerHost: 50,
MaxConnsPerHost: 0,
MaxIdleConnsPerHost: 100,
}
}
}
Expand Down

0 comments on commit 5a41be4

Please sign in to comment.