Skip to content

Increase default max_chunk_size to 1 GB #32208

@devnoname120

Description

@devnoname120

Why is max_chunk_size set to 10 MB by default? That's pretty low.

What would you think about upping it to something like 1 GB?

Code reference:

$maxChunkSize = (int)\OC::$server->getConfig()->getAppValue('files', 'max_chunk_size', 10 * 1024 * 1024);

The weird thing is that the VM install script overrides this to 100 MB. Why is it different from the default?
https://github.com/nextcloud/vm/blob/c4b764acbd4fb3c66acb24cddfe21774a1363126/nextcloud_install_production.sh#L540

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions