Skip to content

Commit

Permalink
Merge pull request #48461 from nextcloud/perf/files/chunked-upload-de…
Browse files Browse the repository at this point in the history
…fault-100-mib
  • Loading branch information
provokateurin authored Sep 30, 2024
2 parents dc380f9 + f2a019e commit ced915a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/lib/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand Down

0 comments on commit ced915a

Please sign in to comment.