Skip to content

Commit 05eb20e

Browse files
authored
Add missing Laravel Crons parameters (#12434)
1 parent 48a5c78 commit 05eb20e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

platform-includes/crons/setup/php.laravel.mdx

+7-3
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,16 @@ protected function schedule(Schedule $schedule)
2727
$schedule->command('emails:send')
2828
->everyHour()
2929
->sentryMonitor(
30-
// Specify the slug of the job monitor in case of duplicate commands or if the monitor was created in the UI
30+
// Specify the slug of the job monitor in case of duplicate commands or if the monitor was created in the UI.
3131
monitorSlug: null,
32-
// Check-in margin in minutes
32+
// Number of minutes before a check-in is considered missed.
3333
checkInMargin: 5,
34-
// Max runtime in minutes
34+
// Number of minutes before an in-progress check-in is marked timed out.
3535
maxRuntime: 15,
36+
// Create a new issue when this many consecutive missed or error check-ins are processed.
37+
failureIssueThreshold: 1,
38+
// Resolve the issue when this many consecutive healthy check-ins are processed.
39+
recoveryThreshold: 1,
3640
// In case you want to configure the job monitor exclusively in the UI, you can turn off sending the monitor config with the check-in.
3741
// Passing a monitor-slug is required in this case.
3842
updateMonitorConfig: false,

0 commit comments

Comments
 (0)