Merge pull request #10557 from owncloud/PerformanceDegradation2

Performance Degradation
This commit is contained in:
kobergj
2024-11-13 15:51:31 +01:00
committed by GitHub
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",