Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2016-10-16 12:19:30 +0300
committerAleksander Machniak <alec@alec.pl>2016-10-16 12:19:30 +0300
commit4e0532808de18f71e2fb5f654e3cd1d7d65fd499 (patch)
treeaf29f98ec0e09b006fbc14cfdd4c5e7f0de5d78a /plugins/redundant_attachments
parent33addff3052389574cd057b95c708aef550a697d (diff)
Fix bug where it wasn't possible to store more that 2MB objects in memcache/apc (#5452)
Added memcache_max_allowed_packet and apc_max_allowed_packet settings
Diffstat (limited to 'plugins/redundant_attachments')
-rw-r--r--plugins/redundant_attachments/config.inc.php.dist4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/redundant_attachments/config.inc.php.dist b/plugins/redundant_attachments/config.inc.php.dist
index 47e84014b..9cc1b0034 100644
--- a/plugins/redundant_attachments/config.inc.php.dist
+++ b/plugins/redundant_attachments/config.inc.php.dist
@@ -4,6 +4,10 @@
// 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.
+// ------------------------------------------------------------
+// WARNING: Remember to also set memcache_max_allowed_packet in
+// config to match with expected max attachment size.
+// ------------------------------------------------------------
$config['redundant_attachments_memcache'] = false;
// Attachment data expires after specified TTL time in seconds (max.2592000).