summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-09-06 18:21:09 +0200
committerAleksander Machniak <alec@alec.pl>2013-09-06 18:21:09 +0200
commit21601b4deb74555cfde23d3d7c9e255d5f98f5d2 (patch)
tree04cbe233a21c80809a94e2729221d81c5a40e798 /config
parent53b4c7ef4eb3788c8bd590618adf3cb928886d8f (diff)
Make cached message size limit configurable - messages_cache_threshold (#1489317)
Diffstat (limited to 'config')
-rw-r--r--config/defaults.inc.php5
1 files changed, 5 insertions, 0 deletions
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
// ----------------------------------