From 21601b4deb74555cfde23d3d7c9e255d5f98f5d2 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 6 Sep 2013 18:21:09 +0200 Subject: Make cached message size limit configurable - messages_cache_threshold (#1489317) --- config/defaults.inc.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config') diff --git a/config/defaults.inc.php b/config/defaults.inc.php index 2a51b0805..bdcbbd333 100644 --- a/config/defaults.inc.php +++ b/config/defaults.inc.php @@ -164,6 +164,11 @@ $config['imap_cache_ttl'] = '10d'; // Lifetime of messages cache. Possible units: s, m, h, d, w $config['messages_cache_ttl'] = '10d'; +// Maximum cached message size in kilobytes. +// Note: On MySQL this should be less than (max_allowed_packet - 30%) +$config['messages_cache_threshold'] = 50; + + // ---------------------------------- // SMTP // ---------------------------------- -- cgit v1.2.3