Merge SingleInstanceSimpleWorker into SimpleWorker [MAILPOET-2385]

This commit is contained in:
wxa
2019-09-30 08:02:09 +03:00
committed by Jack Kitterhing
parent 0805dc365f
commit 12c526e120
8 changed files with 119 additions and 157 deletions

View File

@ -3,6 +3,7 @@ namespace MailPoet\Cron\Workers;
class SimpleWorkerMockImplementation extends SimpleWorker {
const TASK_TYPE = 'mock_simple_worker';
const SUPPORT_MULTIPLE_INSTANCES = false;
function init() {
// to be mocked