Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 4c8e831

Browse files
luizmdiogonicoleti
authored andcommitted
Update main.go
1 parent 7634743 commit 4c8e831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var (
2121
configFile = flag.String("config", "config.yml", "The path to the config file.")
2222
interval = flag.Duration("interval", 30*time.Second, "interval between gathering metrics")
2323
timeout = flag.Duration("timeout", 15*time.Second, "query timeout")
24-
maxDBConns = flag.Int("max-db-connections", 1, "max connections to open to each database")
24+
maxDBConns = flag.Int("max-db-connections", 5, "max connections to open to each database")
2525
debug = flag.Bool("debug", false, "Enable debug mode")
2626
)
2727

0 commit comments

Comments
 (0)