Running Task Symbiote\QueuedJobs\Tasks\CheckJobHealthTask

GET /dev/tasks/CheckJobHealthTask

[Notice] Array to string conversion

GET /dev/tasks/CheckJobHealthTask

Line 44 in /home/lamporthall/public_html/vendor/symbiote/silverstripe-queuedjobs/src/Tasks/CheckJobHealthTask.php

Source

35      * @param HTTPRequest $request
36      * @return
37      */
38     public function run($request)
39     {
40         $queue = $request->requestVar('queue') ?: QueuedJob::QUEUED;
41 
42         $stalledJobCount = $this->getService()->checkJobHealth($queue);
43 
44         echo $stalledJobCount === 0 ? 'All jobs are healthy' : 'Detected and attempted restart on ' . $stalledJobCount .
45             ' stalled jobs';
46     }
47 
48     protected function getService()
49     {
50         return QueuedJobService::singleton();

Trace

Detected and attempted restart on Array stalled jobs