-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add max warning level configuration to faildelay check
This allows the user to configure a maximum permitted check level for faildelay checks. You can provide a default for all tasks, as well as per task configurations that have precedence over the task default. The configuration is stored in the site config.php under the config setting $CFG->tool_heartbeat_tasks This should be an array with a form like the following $CFG->tool_heartbeat_tasks = [ '*' => [ 'maxfaildelaylevel' => 'warning', ], '\core\task\delete_unconfirmed_users_task' => [ 'maxfaildelaylevel' => 'critical', ], ];
- Loading branch information
1 parent
a187c2c
commit 4ababc2
Showing
2 changed files
with
85 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters