(_request: FastifyRequest, reply: FastifyReply)
| 71 | // Kubernetes readiness — shallow + shutdown-aware. Dependency health lives on |
| 72 | // /healthcheck so a downstream blip cannot trigger mass pod restarts. |
| 73 | export async function readiness(_request: FastifyRequest, reply: FastifyReply) { |
| 74 | if (isShuttingDown()) { |
| 75 | return reply.status(503).send({ ready: false, reason: 'shutting down' }); |
| 76 | } |
| 77 | |
| 78 | return reply.status(200).send({ ready: true }); |
| 79 | } |
nothing calls this directly
no test coverage detected