From e1f6ddab39486dd9819a20b5538f8b6c6b7c7e66 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 2 Nov 2014 13:29:33 +0100 Subject: Add tarball support to multipastes Signed-off-by: Florian Pritz --- application/config/config.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'application/config/config.php') 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 -- cgit v1.2.3-24-g4f1b