summaryrefslogtreecommitdiff
path: root/redundant_attachments/config.inc.php.dist
diff options
context:
space:
mode:
Diffstat (limited to 'redundant_attachments/config.inc.php.dist')
-rw-r--r--redundant_attachments/config.inc.php.dist13
1 files changed, 13 insertions, 0 deletions
diff --git a/redundant_attachments/config.inc.php.dist b/redundant_attachments/config.inc.php.dist
new file mode 100644
index 0000000..a6d1ad4
--- /dev/null
+++ b/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.
+$config['redundant_attachments_memcache'] = false;
+
+// Attachment data expires after specied TTL time in seconds (max.2592000).
+// Default is 12 hours.
+$config['redundant_attachments_cache_ttl'] = 12 * 60 * 60;
+
+?>