aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2010-11-10 15:58:12 +0100
committerNils Adermann <naderman@naderman.de>2010-11-10 15:58:12 +0100
commitf977075b43abf5a326d48cafaedee26181ae7d8c (patch)
treee0aa1e1edaa39227fd8dc25c313ec955a83a538e /phpBB/install/database_update.php
parent336dc70047707e8cdd879e6dc18ed532a8f1cb33 (diff)
parent1b12884c7d9776ace7255e0ee1e3b6e274bc9fb3 (diff)
downloadforums-f977075b43abf5a326d48cafaedee26181ae7d8c.tar
forums-f977075b43abf5a326d48cafaedee26181ae7d8c.tar.gz
forums-f977075b43abf5a326d48cafaedee26181ae7d8c.tar.bz2
forums-f977075b43abf5a326d48cafaedee26181ae7d8c.tar.xz
forums-f977075b43abf5a326d48cafaedee26181ae7d8c.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/9884] Reduce queue interval to 60 seconds, email package size to 20
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 7149b0e9f8..c93976a8cf 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -1849,6 +1849,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;
}