From 054f8ebbfb420b47923f997c79de773877f2e66b Mon Sep 17 00:00:00 2001 From: Erdem Agaoglu Date: Tue, 6 Dec 2016 17:45:19 +0300 Subject: [PATCH] Increase default max-connections --- cmd/prometheus/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/prometheus/config.go b/cmd/prometheus/config.go index 5410a6f62..af124cc26 100644 --- a/cmd/prometheus/config.go +++ b/cmd/prometheus/config.go @@ -85,7 +85,7 @@ func init() { "Maximum duration before timing out read of the request, and closing idle connections.", ) cfg.fs.IntVar( - &cfg.web.MaxConnections, "web.max-connections", 100, + &cfg.web.MaxConnections, "web.max-connections", 512, "Maximum number of simultaneous connections.", ) cfg.fs.StringVar(