diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-24 07:30:46 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-24 07:30:46 +0000 |
| commit | 4386498aa7ae1d45dbdfd0ac659939dc0d163458 (patch) | |
| tree | 9c67f65c700924b578dfc9310c03e291dafc1847 /plugins/redundant_attachments/config.inc.php.dist | |
| parent | 2c0096833d314a51af6f237370e08d4d8edff0d4 (diff) | |
- Add memcache fallback, use rcube_cache objects
git-svn-id: https://svn.roundcube.net/trunk@4805 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/redundant_attachments/config.inc.php.dist')
| -rw-r--r-- | plugins/redundant_attachments/config.inc.php.dist | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/redundant_attachments/config.inc.php.dist b/plugins/redundant_attachments/config.inc.php.dist new file mode 100644 index 000000000..6c317ead1 --- /dev/null +++ b/plugins/redundant_attachments/config.inc.php.dist @@ -0,0 +1,13 @@ +<?php + +// By default this plugin stores attachments in filesystem +// and copies them into sql database. +// In environments with replicated database it is possible +// to use memcache as a fallback when write-master is unavailable. +$rcmail_config['redundant_attachments_memcache'] = false; + +// When memcache is used, attachment data expires after +// specied TTL time in seconds (max.2592000). Default is 12 hours. +$rcmail_config['redundant_attachments_memcache_ttl'] = 12 * 60 * 60; + +?> |
