Merge pull request #48461 from nextcloud/perf/files/chunked-upload-default-100-mib

This commit is contained in:
Kate 2024-09-30 18:09:24 +02:00 committed by GitHub
commit ced915a3b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,7 +44,7 @@ class App {
public static function extendJsConfig($settings): void {
$appConfig = json_decode($settings['array']['oc_appconfig'], true);
$maxChunkSize = (int)Server::get(IConfig::class)->getAppValue('files', 'max_chunk_size', (string)(10 * 1024 * 1024));
$maxChunkSize = (int)Server::get(IConfig::class)->getAppValue('files', 'max_chunk_size', (string)(100 * 1024 * 1024));
$appConfig['files'] = [
'max_chunk_size' => $maxChunkSize
];