mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
add TODO to make MaxIdleConnsPerHost configurable
This commit is contained in:
parent
34cb92861b
commit
53a8f660a7
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ const (
|
|||
func main() {
|
||||
// Limit the number of connections that a server can make to a single node
|
||||
// in order to prevent a cluster storm.
|
||||
// TODO: make this configurable
|
||||
http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = 64
|
||||
|
||||
m := NewMain()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue