Reduces sending batch size

This commit is contained in:
Vlad
2017-03-06 19:05:14 -05:00
parent a59bf76fb4
commit 5d88938d94

View File

@ -15,7 +15,7 @@ class SendingQueue {
public $mailer_task;
public $newsletter_task;
public $timer;
const BATCH_SIZE = 50;
const BATCH_SIZE = 20;
function __construct($timer = false, $mailer_task = false, $newsletter_task = false) {
$this->mailer_task = ($mailer_task) ? $mailer_task : new MailerTask();