Merge pull request #7416 from kobergj/DefaultAsyncUploads

[full-ci] Set default AsyncUploads to true
This commit is contained in:
Michael Barz
2023-10-06 08:30:44 +02:00
committed by GitHub
3 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
Enhancement: Set default for Async Uploads to true
Async Uploads are meanwhile standard and needed for multiple features. Hence we default them to true
https://github.com/owncloud/ocis/pull/7416

View File

@@ -50,7 +50,7 @@ func DefaultConfig() *config.Config {
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
DebounceDuration: 1000,
AsyncUploads: false,
AsyncUploads: true,
EnableTLS: false,
},
ContentExtractionSizeLimit: 20 * 1024 * 1024, // Limit content extraction to <20MB files by default

View File

@@ -85,6 +85,7 @@ func DefaultConfig() *config.Config {
PermissionsEndpoint: "com.owncloud.api.settings",
MaxAcquireLockCycles: 20,
LockCycleDurationFactor: 30,
AsyncUploads: true,
},
},
Events: config.Events{