You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$finishCheckIn = function (?string$slug, SchedulingEvent$scheduled, CheckInStatus$status) {
49
65
$this->finishCheckIn($slug, $scheduled, $status);
@@ -53,17 +69,35 @@ public function onBoot(Cache $cache): void
53
69
?string$monitorSlug = null,
54
70
?int$checkInMargin = null,
55
71
?int$maxRuntime = null,
56
-
bool$updateMonitorConfig = true
72
+
bool$updateMonitorConfig = true,
73
+
?int$failureIssueThreshold = null,
74
+
?int$recoveryThreshold = null
57
75
) use ($startCheckIn, $finishCheckIn) {
58
76
/** @var SchedulingEvent $this */
59
77
if ($monitorSlug === null && $this->command === null) {
60
78
thrownewRuntimeException('The command string is null, please set a slug manually for this scheduled command using the `sentryMonitor(\'your-monitor-slug\')` macro.');
61
79
}
62
80
63
81
return$this
64
-
->before(function () use ($startCheckIn, $monitorSlug, $checkInMargin, $maxRuntime, $updateMonitorConfig) {
0 commit comments