mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
Some changes... non-invasive...
git-svn-id: file:///svn/phpbb/trunk@8025 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -575,6 +575,12 @@ class queue
|
||||
$package_size = $data_ary['package_size'];
|
||||
$num_items = (!$package_size || sizeof($data_ary['data']) < $package_size) ? sizeof($data_ary['data']) : $package_size;
|
||||
|
||||
// If the amount of emails to be sent is way more than package_size than we need to increase it to prevent backlogs...
|
||||
if (sizeof($data_ary['data']) > $package_size * 2.5)
|
||||
{
|
||||
$num_items = sizeof($data_ary['data']);
|
||||
}
|
||||
|
||||
switch ($object)
|
||||
{
|
||||
case 'email':
|
||||
|
Reference in New Issue
Block a user