Skip to content

Commit

Permalink
Merge pull request #4485 from dragonchaser/change-concurrency-default
Browse files Browse the repository at this point in the history
change default for MaxConcurrency
  • Loading branch information
dragonchaser authored Jan 29, 2024
2 parents c9e4a3b + 9094bbd commit cff0a2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions changelog/unreleased/concurrence-defaults.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: Modify the concurrency default

We have changed the default MaxConcurrency value from 100 to 5 to prevent too frequent gc runs on low memory systems.

https://github.com/cs3org/reva/pull/4485
https://github.com/owncloud/ocis/issues/8257
2 changes: 1 addition & 1 deletion pkg/storage/utils/decomposedfs/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func New(m map[string]interface{}) (*Options, error) {
}

if o.MaxConcurrency <= 0 {
o.MaxConcurrency = 100
o.MaxConcurrency = 5
}

if o.Propagator == "" {
Expand Down

0 comments on commit cff0a2e

Please sign in to comment.