mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 16:35:37 -05:00
perf(files): Adjust default chunk size for chunked upload to 100MiB
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
b6a23b2986
commit
f2a019e60e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue