MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / liveness

Function liveness

apps/api/src/controllers/healthcheck.controller.ts:67–69  ·  view source on GitHub ↗
(_request: FastifyRequest, reply: FastifyReply)

Source from the content-addressed store, hash-verified

65
66// Kubernetes liveness — shallow, event loop only.
67export async function liveness(_request: FastifyRequest, reply: FastifyReply) {
68 return reply.status(200).send({ live: true });
69}
70
71// Kubernetes readiness — shallow + shutdown-aware. Dependency health lives on
72// /healthcheck so a downstream blip cannot trigger mass pod restarts.

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected