From 61ccdfcfbb943abb75d3245f6c70b0c3c0b1b34c Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 06 Jun 2013 03:22:21 -0400
Subject: [PATCH] Add imap_cache_ttl option to configure TTL of imap_cache

---
 config/main.inc.php.dist |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 506edd9..889d101 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -128,6 +128,9 @@
 // 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';
 

--
Gitblit v1.9.1