fix(sharing): use 1 worker in single binary

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2024-11-15 15:12:18 +01:00
parent fd4e53e2e6
commit a35618aa36
2 changed files with 3 additions and 2 deletions

View File

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

View File

@@ -47,7 +47,7 @@ func DefaultConfig() *config.Config {
JSONCS3: config.UserSharingJSONCS3Driver{
ProviderAddr: "com.owncloud.api.storage-system",
SystemUserIDP: "internal",
MaxConcurrency: 5,
MaxConcurrency: 1,
},
OwnCloudSQL: config.UserSharingOwnCloudSQLDriver{
DBUsername: "owncloud",