Rostislav Wolny
c44758b90d
Refactor action scheduler deactivation into DaemonActionSchedulerRunner::init
...
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
Rostislav Wolny
977f9beb87
Refactor deactivation of MailPoet cron actions to run only once
...
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
Rostislav Wolny
2df7d2f686
Split integration tests after refactoring AS runner
...
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
Rostislav Wolny
d3e2bcdf34
Refactor daemon trigger and daemon run actions to extra classes
...
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
Rostislav Wolny
dfae17ed94
Add missing return and parameter types to action scheduler related classes
...
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
Rostislav Wolny
2ba1696d53
Add adaptive execution limit when daemon runs inside Action Scheduler
...
We use action_scheduler_maximum_execution_time_likely_to_be_exceeded filter for reading remaining execution limit
tracked in the Action Scheduler runner.
Then we use the remaining limit minus safety margin for the daemon execution.
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
Rostislav Wolny
cacb44444c
Add DaemonActionSchedulerRunner integration test
...
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00