Skip to content

Commit

Permalink
fix(sharing): use 1 worker in single binary
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <jkoberg@owncloud.com>
  • Loading branch information
kobergj committed Nov 15, 2024
1 parent fd4e53e commit a35618a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion changelog/unreleased/max-concurrency.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion services/sharing/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a35618a

Please sign in to comment.