mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update health.php
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user