From 53a8f660a77583309ae49074179686866808bd41 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 60e588075..7598f82aa 100644 --- a/cmd/pilosa/main.go +++ b/cmd/pilosa/main.go @@ -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()