summaryrefslogtreecommitdiffstats
path: root/application/config/config.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-11-02 13:29:33 +0100
committerFlorian Pritz <bluewind@xinu.at>2014-11-02 16:29:45 +0100
commite1f6ddab39486dd9819a20b5538f8b6c6b7c7e66 (patch)
treea9216c90f15c64688aba397d63626ef9484b9c43 /application/config/config.php
parent9fcab419ba819273ed95fdfa76b08c87d72cb3e8 (diff)
Add tarball support to multipastes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/config/config.php')
-rw-r--r--application/config/config.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 2191b21df..2748e97c0 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -384,6 +384,13 @@ $config['actions_max_age'] = 60*60*24*5; // 5 days
// Files smaller than this won't be deleted (even if they are old enough)
$config['small_upload_size'] = 1024*10; // 10KiB
+// Maximum size for multipaste tarballs. 0 disables the feature
+$config['tarball_max_size'] = 1024*1024*50; // 50MiB
+
+// Multipaste tarballs older than this will be deleted by the cron job
+// Changing this is not recommended
+$config['tarball_cache_time'] = 60*5; // 5 minutes
+
// Possible values:
// - apc: needs the apc module and is only useful on long running php processes