aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-11-09 21:03:29 +0100
committerIgor Wiedler <igor@wiedler.ch>2010-11-10 15:50:53 +0100
commitc9c19874d6de1af67d4240ff85618dd16ee57b29 (patch)
treeac306d614dea95e0582dc55d8ed7b8ae574786fb /phpBB/install/database_update.php
parent05dce726d09f73cec0572a18705d4b3db9665635 (diff)
downloadforums-c9c19874d6de1af67d4240ff85618dd16ee57b29.tar
forums-c9c19874d6de1af67d4240ff85618dd16ee57b29.tar.gz
forums-c9c19874d6de1af67d4240ff85618dd16ee57b29.tar.bz2
forums-c9c19874d6de1af67d4240ff85618dd16ee57b29.tar.xz
forums-c9c19874d6de1af67d4240ff85618dd16ee57b29.zip
[ticket/9884] Reduce queue interval to 60 seconds, email package size to 20
PHPBB3-9884
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 46b74c884c..8d67d2353d 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -1840,6 +1840,17 @@ function change_database_data(&$no_updates, $version)
// Unread posts search load switch
set_config('load_unreads_search', '1');
+ // Reduce queue interval to 60 seconds, email package size to 20
+ if ($config['queue_interval'] == 600)
+ {
+ set_config('queue_interval', '60');
+ }
+
+ if ($config['email_package_size'] == 50)
+ {
+ set_config('email_package_size', '20');
+ }
+
$no_updates = false;
break;
}