aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2015-08-12 14:06:55 +0200
committerplegall <plg@piwigo.org>2015-08-12 14:06:55 +0200
commit5579b1e1a3f1a2d845fe9dcf3d3710ff3258cdee (patch)
treeb2f88762236950f454d5e2c1261c659719a48f33 /include/config_default.inc.php
parent221a3b7e58e0dde40ed0ff9b8bafa732f98fe9e2 (diff)
closes #346 chunk_size is now a config setting
Diffstat (limited to 'include/config_default.inc.php')
-rw-r--r--include/config_default.inc.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 09d11132e..60a3da323 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -800,6 +800,10 @@ $conf['tiff_representative_ext'] = 'png';
// (TIFF, videos, PDF)
$conf['upload_form_all_types'] = false;
+// Size of chunks, in kilobytes. Fast connections will have better
+// performances with high values, such as 5000.
+$conf['upload_form_chunk_size'] = 500;
+
// If we try to generate a pwg_representative for a video we use ffmpeg. If
// "ffmpeg" is not visible by the web user, you can define the full path of
// the directory where "ffmpeg" executable is.
@@ -817,4 +821,4 @@ $conf['log_level'] = 'DEBUG';
// Keep logs file during X days
$conf['log_archive_days'] = 30;
-?> \ No newline at end of file
+?>