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

@ -22,7 +22,6 @@ class ScheduledTaskEntity {
const STATUS_PAUSED = 'paused';
const STATUS_INVALID = 'invalid';
const VIRTUAL_STATUS_RUNNING = 'running'; // For historical reasons this is stored as null in DB
const TYPE_SENDING = 'sending';
const PRIORITY_HIGH = 1;
const PRIORITY_MEDIUM = 5;
const PRIORITY_LOW = 10;