Function get_readiness

Source
pub async fn get_readiness<J, RR, TR, NR, NFR, SR, TCR, PR, AKR>(
    data: ThinDataAppState<J, RR, TR, NR, NFR, SR, TCR, PR, AKR>,
) -> ReadinessResponse
Expand description

Get readiness response with caching.

Checks the cache first (10-second TTL). On cache miss, performs health checks for all components: system resources, Redis pools, queue, and plugins.

Returns 200 OK if ready (Healthy or Degraded), 503 if Unhealthy.