mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 01:10:20 -06:00
fix(performance): use less workers for not essential consumers
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
5
changelog/unreleased/max-concurrency.md
Normal file
5
changelog/unreleased/max-concurrency.md
Normal 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
|
||||
@@ -130,7 +130,7 @@ func DefaultConfig() *config.Config {
|
||||
Cluster: "ocis-cluster",
|
||||
EnableTLS: false,
|
||||
},
|
||||
MaxConcurrency: 25,
|
||||
MaxConcurrency: 1,
|
||||
PasswordPolicy: config.PasswordPolicy{
|
||||
MinCharacters: 8,
|
||||
MinLowerCaseCharacters: 1,
|
||||
|
||||
@@ -34,7 +34,7 @@ func DefaultConfig() *config.Config {
|
||||
Cluster: "ocis-cluster",
|
||||
EnableTLS: false,
|
||||
},
|
||||
MaxConcurrency: 5,
|
||||
MaxConcurrency: 1,
|
||||
Persistence: config.Persistence{
|
||||
Store: "memory",
|
||||
Database: "userlog",
|
||||
|
||||
Reference in New Issue
Block a user