tweak db connections

This commit is contained in:
Andre Medeiros 2021-07-07 22:58:21 -04:00
parent 0db6090f3e
commit 15c543bb62

View file

@ -195,7 +195,8 @@ func main() {
logger.Printf("Starting with %d workers.", workers)
db.SetMaxOpenConns(workers)
db.SetMaxOpenConns(workers * 2)
db.SetMaxIdleConns(workers)
statsd, err := statsd.New("127.0.0.1:8125")
if err != nil {