From b6907c4e19558899654326fb5ea7e37c397fa7d3 Mon Sep 17 00:00:00 2001 From: Travis Date: Fri, 24 Feb 2017 13:29:14 -0600 Subject: [PATCH] add TODO to make `MaxIdleConnsPerHost` configurable --- cmd/pilosa/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/pilosa/main.go b/cmd/pilosa/main.go index 6fff5db6b..82eb9d7a7 100644 --- a/cmd/pilosa/main.go +++ b/cmd/pilosa/main.go @@ -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()