From c733d9a74a4e47e27d73d10fbb1f1c218e240a5d Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Thu, 1 Sep 2022 12:06:10 +0100 Subject: [PATCH] Increase connection counts for roomserver and sync API in defaults --- setup/config/config_roomserver.go | 2 +- setup/config/config_syncapi.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/config/config_roomserver.go b/setup/config/config_roomserver.go index 7da574172..5e3b7f2ec 100644 --- a/setup/config/config_roomserver.go +++ b/setup/config/config_roomserver.go @@ -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 { diff --git a/setup/config/config_syncapi.go b/setup/config/config_syncapi.go index 342421cc1..4e302ae09 100644 --- a/setup/config/config_syncapi.go +++ b/setup/config/config_syncapi.go @@ -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 {