Set default max_chunk_size for files app to 100MB#26978
Set default max_chunk_size for files app to 100MB#26978
Conversation
Signed-off-by: szaimen <szaimen@e.mail.de>
|
it's a low default to work with server limits, I would keep it that way tbh. The config can always be changed by the admin who knwis their environment. |
|
Okay 👍 |
@blizzz Do we have evidence that Why not set the default to something like |
|
When admins can configure their webserver and PHP, they can also increase the chunk size. When other admins have only limited access and need to leave with default values by their hoster they cannot and might not even have access to the occ utility. |
|
@blizzz What would you think about setting the default to <?php
$default_max_chunk_size = ini_get('upload_max_filesize');
if ($default_max_chunk_size === false) {
$default_max_chunk_size = 10 * 1024 * 1024;
}This wouldn't work for misconfigured apache/nginx servers though. |
fix #26977
Signed-off-by: szaimen szaimen@e.mail.de