From 4c8e831f0d22df5ba85cfc57d8ee7a40d97e47db Mon Sep 17 00:00:00 2001 From: Luiz Muller Date: Thu, 19 Mar 2020 17:37:46 -0300 Subject: [PATCH] Update main.go --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a39646d..d71f7f1 100644 --- a/main.go +++ b/main.go @@ -21,7 +21,7 @@ var ( configFile = flag.String("config", "config.yml", "The path to the config file.") interval = flag.Duration("interval", 30*time.Second, "interval between gathering metrics") timeout = flag.Duration("timeout", 15*time.Second, "query timeout") - maxDBConns = flag.Int("max-db-connections", 1, "max connections to open to each database") + maxDBConns = flag.Int("max-db-connections", 5, "max connections to open to each database") debug = flag.Bool("debug", false, "Enable debug mode") )