We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7d6bce + afb1599 commit e5bb9b8Copy full SHA for e5bb9b8
config/schedule-monitor.php
@@ -76,6 +76,10 @@
76
*/
77
'send_starting_ping' => env('OH_DEAR_SEND_STARTING_PING', false),
78
79
-
+ /**
80
+ * The amount of minutes a scheduled task is allowed to run before it is
81
+ * considered late.
82
+ */
83
+ 'grace_time_in_minutes' => 5,
84
],
85
];
src/Support/ScheduledTasks/Tasks/Task.php
@@ -163,7 +163,7 @@ public function lastRunFailed(): bool
163
164
public function graceTimeInMinutes()
165
{
166
- return $this->event->graceTimeInMinutes ?? 5;
+ return $this->event->graceTimeInMinutes ?? config('schedule-monitor.oh_dear.grace_time_in_minutes', 5);
167
}
168
169
public function cronExpression(): string
0 commit comments