fix(performance): use less workers for not essential consumers

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2024-11-13 11:04:29 +01:00
parent 2f4d50fb42
commit 2d2801009c
3 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
Bugfix: Set MaxConcurrency to 1
Set MaxConcurrency for frontend and userlog services to 1. Too many workers will negatively impact performance on small machines.
https://github.com/owncloud/ocis/pull/10557

View File

@@ -130,7 +130,7 @@ func DefaultConfig() *config.Config {
Cluster: "ocis-cluster",
EnableTLS: false,
},
MaxConcurrency: 25,
MaxConcurrency: 1,
PasswordPolicy: config.PasswordPolicy{
MinCharacters: 8,
MinLowerCaseCharacters: 1,

View File

@@ -34,7 +34,7 @@ func DefaultConfig() *config.Config {
Cluster: "ocis-cluster",
EnableTLS: false,
},
MaxConcurrency: 5,
MaxConcurrency: 1,
Persistence: config.Persistence{
Store: "memory",
Database: "userlog",