feat: add required attribute to cron.xml
In this commit, we have improved the handling of cron tasks and introduced the 'required' attribute. Changes made include:
- Added 'required' attribute to three cron exec in
cron.xml
to enforce their creation. - Updated
EventHandler
to only createrequired
crons, and to stop creating non-required crons when the$onlyRequired
argument is set totrue
. - Improved how crons are created with different scopes by replacing the switch statement with a
match
expression inEventHandler
. - Added the handling of the 'required' attribute in
Manager
to ensure all cron objects are aware of if they are required or not. This attribute is set totrue
for required crons andfalse
if not specified or not required. - Simplified the array replacement in
EventHandler
.
This improvement in how cron tasks are managed will result in more efficient and robust operation of the system.
Merge Request-Berichte
Aktivität
mentioned in commit cf820864
This MR is included in version 2.3.0The release is available on GitLab release.
Your semantic-release bot
Bitte registriere oder melde dich an um zu antworten