feat: add limit for max connections for poll

This commit is contained in:
Yanislav Igonin 2021-09-11 17:09:43 +03:00
parent f24c97f5e0
commit 35131c4ff8

View File

@ -19,5 +19,7 @@ func Init() {
log.Panicln(err) log.Panicln(err)
} }
Pool.Config().MaxConns = 5
log.Println("database - online") log.Println("database - online")
} }