View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015419 | phpList 3 application | Campaign Send Process | public | 02-03-10 14:14 | 20-04-10 14:15 |
Reporter | beuss | ||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | 2.10.10 | ||||
Target Version | 2.10.12 | Fixed in Version | 2.10.12 | ||
Summary | 0015419: Allow MAILQUEUE_THROTTLE to be a decimal value | ||||
Description | It can be useful to have a delay between mail send of less than one second. Attached patch allow MAILQUEUE_THROTTLE to be specified as a decimal | ||||
Tags | No tags attached. | ||||
02-03-10 14:14
|
processqueue-usleep.patch (564 bytes)
--- admin/processqueue.php.orig 2010-03-02 15:07:19.000000000 +0100 +++ admin/processqueue.php 2010-03-02 15:06:53.000000000 +0100 @@ -684,7 +684,7 @@ unset($running_throttle_delay); } } elseif (MAILQUEUE_THROTTLE) { - sleep(MAILQUEUE_THROTTLE); + usleep(MAILQUEUE_THROTTLE * 1000000); } elseif (MAILQUEUE_BATCH_SIZE && MAILQUEUE_AUTOTHROTTLE && $sent > 10) { $totaltime = $GLOBALS['processqueue_timer']->elapsed(1); $msgperhour = (3600/$totaltime) * $sent; |