Make sure the component max open conns doesn't exceed 100

This commit is contained in:
Kegan Dougal 2021-03-08 14:50:37 +00:00
parent 5912429d53
commit e865a1507a

View file

@ -43,7 +43,7 @@ type AppServiceAPI struct {
func (c *AppServiceAPI) Defaults() { func (c *AppServiceAPI) Defaults() {
c.InternalAPI.Listen = "http://localhost:7777" c.InternalAPI.Listen = "http://localhost:7777"
c.InternalAPI.Connect = "http://localhost:7777" c.InternalAPI.Connect = "http://localhost:7777"
c.Database.Defaults(10) c.Database.Defaults(5)
c.Database.ConnectionString = "file:appservice.db" c.Database.ConnectionString = "file:appservice.db"
} }