summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-06 09:22:21 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-06 09:22:21 +0200
commit61ccdfcfbb943abb75d3245f6c70b0c3c0b1b34c (patch)
tree228ddb2ccda35a969330bc8e6fb00243a305abbe /config
parent67ac6e354ab6c12e708415d2949936b4dc427275 (diff)
Add imap_cache_ttl option to configure TTL of imap_cache
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 506edd9cc..889d101d9 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -128,6 +128,9 @@ $rcmail_config['imap_cache'] = null;
// Enables messages cache. Only 'db' cache is supported.
$rcmail_config['messages_cache'] = false;
+// Lifetime of IMAP indexes cache. Possible units: s, m, h, d, w
+$rcmail_config['imap_cache_ttl'] = '10d';
+
// Lifetime of messages cache. Possible units: s, m, h, d, w
$rcmail_config['messages_cache_ttl'] = '10d';