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.
1 parent 1b0692d commit 0c51961Copy full SHA for 0c51961
src/Checks/QueueHealthCheck.php
@@ -48,7 +48,7 @@ public function failIfJobTakesLongerThan($seconds)
48
49
public static function make($queue = 'default')
50
{
51
- return (new static('queue-check.' . $queue))->queue($queue);
+ return (new static($queue . '_queue'))->queue($queue);
52
}
53
54
public function queue($queue)
@@ -100,6 +100,11 @@ public function run()
100
} elseif ($lastJobDuration >= $this->warnAt) {
101
$result = Result::warn("{$this->queue} wait time is getting longer. (> {$duration})");
102
103
+
104
+ $result->meta([
105
+ 'queue' => $this->queue,
106
+ 'waitTime' => $duration,
107
+ ]);
108
109
110
$dispatchAgain = $shouldDispatchNewJob && (
0 commit comments