1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/9884] Reduce queue interval to 60 seconds, email package size to 20

PHPBB3-9884
This commit is contained in:
Igor Wiedler
2010-11-09 21:03:29 +01:00
parent 05dce726d0
commit c9c19874d6
2 changed files with 13 additions and 2 deletions

View File

@@ -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;
}