mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 08:10:50 +00:00
add TODO to make MaxIdleConnsPerHost configurable
This commit is contained in:
parent
de1a779d41
commit
b6907c4e19
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,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