Skip to main content

Function: readinessHandler()

readinessHandler(c): Promise<Response>

Defined in: src/api/handlers/rest/health.ts:78

Readiness probe handler.

Parameters

c

Context<ChiveEnv>

Hono context

Returns

Promise<Response>

Health response with dependency checks

Remarks

Checks connectivity to dependencies (Redis, PostgreSQL) and returns status. Used by Kubernetes to determine if traffic should be routed to this pod.