mirror of
https://github.com/appwrite/appwrite
synced 2026-05-21 16:08:22 +00:00
Update health.php
This commit is contained in:
parent
73b1837d66
commit
e2c05fea8c
1 changed files with 1 additions and 1 deletions
|
|
@ -719,7 +719,7 @@ App::get('/v1/health/queue/failed/:name')
|
|||
$client = new Client($queueName, $queue);
|
||||
$failed = $client->countFailedJobs();
|
||||
|
||||
$response->dynamic(new Document(['size' => $failed]), Response::MODEL_HEALTH_QUEUE);
|
||||
$response->dynamic(new Document([ 'size' => $failed ]), Response::MODEL_HEALTH_QUEUE);
|
||||
});
|
||||
|
||||
App::get('/v1/health/stats') // Currently only used internally
|
||||
|
|
|
|||
Loading…
Reference in a new issue