From 8f485469c7955fbf5b420ee0b6f043282965715b Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 24 Feb 2015 12:23:11 +0100 Subject: Add possibility to configure max_allowed_packet value for all database engines (#1490283) --- config/defaults.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config') 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 -- cgit v1.2.3