From f2a019e60e6bee2baa653adce4773d3c04e65ec1 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Mon, 30 Sep 2024 16:29:11 +0200 Subject: [PATCH] perf(files): Adjust default chunk size for chunked upload to 100MiB Signed-off-by: provokateurin --- apps/files/lib/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/lib/App.php b/apps/files/lib/App.php index 3fb93df6f1d02..c8d2b786cd604 100644 --- a/apps/files/lib/App.php +++ b/apps/files/lib/App.php @@ -44,7 +44,7 @@ public static function getNavigationManager(): INavigationManager { 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 ];