- Fixes queue worker issue
This commit is contained in:
@ -21,13 +21,13 @@ class SendingQueue {
|
|||||||
const batch_size = 50;
|
const batch_size = 50;
|
||||||
|
|
||||||
function __construct($timer = false) {
|
function __construct($timer = false) {
|
||||||
/* $this->mta_config = $this->getMailerConfig();
|
$this->mta_config = $this->getMailerConfig();
|
||||||
$this->mta_log = $this->getMailerLog();
|
$this->mta_log = $this->getMailerLog();
|
||||||
$this->processing_method = ($this->mta_config['method'] === 'MailPoet') ?
|
$this->processing_method = ($this->mta_config['method'] === 'MailPoet') ?
|
||||||
'processBulkSubscribers' :
|
'processBulkSubscribers' :
|
||||||
'processIndividualSubscriber';
|
'processIndividualSubscriber';
|
||||||
$this->timer = ($timer) ? $timer : microtime(true);
|
$this->timer = ($timer) ? $timer : microtime(true);
|
||||||
CronHelper::checkExecutionTimer($this->timer);*/
|
CronHelper::checkExecutionTimer($this->timer);
|
||||||
}
|
}
|
||||||
|
|
||||||
function process() {
|
function process() {
|
||||||
|
Reference in New Issue
Block a user