summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2015-02-24 12:23:11 +0100
committerAleksander Machniak <alec@alec.pl>2015-02-24 12:23:11 +0100
commit8f485469c7955fbf5b420ee0b6f043282965715b (patch)
tree20bdfbb29606cae8d8dce8517bdb32b025f298a8 /config
parent62b847bea39b00c4795d10443bf5105d49ff7e07 (diff)
Add possibility to configure max_allowed_packet value for all database engines (#1490283)
Diffstat (limited to 'config')
-rw-r--r--config/defaults.inc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/defaults.inc.php b/config/defaults.inc.php
index 06ea9ec21..edc5b32df 100644
--- a/config/defaults.inc.php
+++ b/config/defaults.inc.php
@@ -51,6 +51,12 @@ $config['db_table_dsn'] = array(
// 'cache_messages' => 'r',
);
+// It is possible to specify database variable values e.g. some limits here.
+// Use them if your server is not MySQL or for better performance.
+// For example Roundcube uses max_allowed_packet value (in bytes)
+// which limits query size for database cache operations.
+$config['db_max_allowed_packet'] = 23423440;
+
// ----------------------------------
// LOGGING/DEBUGGING