Move task type const from entity to worker

[MAILPOET-4366]
This commit is contained in:
Jan Lysý
2022-08-10 13:32:33 +02:00
committed by Veljko V
parent 77eaa7e710
commit 5dfda9f3e2
4 changed files with 10 additions and 7 deletions

View File

@ -32,6 +32,8 @@ use MailPoetVendor\Carbon\Carbon;
class SendingQueue {
public $mailerTask;
public $newsletterTask;
const TASK_TYPE = 'sending';
const TASK_BATCH_SIZE = 5;
const EMAIL_WITH_INVALID_SEGMENT_OPTION = 'mailpoet_email_with_invalid_segment';