View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0017193||phplist application||Batch Processing||public||18-05-14 16:29||16-07-14 17:44|
|Target Version||3.0.7||Fixed in Version||3.0.7|
|Summary||0017193: Sending Domain Batch Size + 1 emails|
|Description||It was recognised over a year ago (see https://mantis.phplist.com/view.php?id=16742) that DOMAIN_BATCH_SIZE + 1 emails are sent per domain in each DOMAIN_BATCH_PERIOD.|
At the time it was accepted that domain throttling needed a complete review which is considered a task for the future.
However since the fix is a simple one applying this now would, in the meantime, make the application behave as intended.
|Steps To Reproduce||Set DOMAIN_BATCH_SIZE = 1 (or more) and send consecutive emails to a domain.|
|Additional Information||The fix requires a one line change which in the current version 3.0.6 requires|
line 994 of file admin/actions/processqueue.php to be changed from
$domainthrottle[$domainname]['sent'] = 0;
$domainthrottle[$domainname]['sent'] = 1;
to reflect that one email has just been sent when this line is executed.
|Tags||No tags attached.|