Increase connection counts for roomserver and sync API in defaults

This commit is contained in:
Neil Alexander 2022-09-01 12:06:10 +01:00
parent df9dec4e56
commit c733d9a74a
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ func (c *RoomServer) Defaults(opts DefaultOpts) {
if !opts.Monolithic {
c.InternalAPI.Listen = "http://localhost:7770"
c.InternalAPI.Connect = "http://localhost:7770"
c.Database.Defaults(10)
c.Database.Defaults(20)
}
if opts.Generate {
if !opts.Monolithic {

View file

@ -16,7 +16,7 @@ func (c *SyncAPI) Defaults(opts DefaultOpts) {
c.InternalAPI.Listen = "http://localhost:7773"
c.InternalAPI.Connect = "http://localhost:7773"
c.ExternalAPI.Listen = "http://localhost:8073"
c.Database.Defaults(10)
c.Database.Defaults(20)
}
if opts.Generate {
if !opts.Monolithic {