Skip to main content

Configuration

@quik/healthcheck has no defaults/*.ts file, so there is no generated Config Keys table for it. Two keys are still read directly from getConfig() inside QHealthcheck.runChecks(), with in-code fallbacks:

  • healthcheck.timeoutMilliseconds — default timeout (ms) applied to each registered check when it does not set its own timeoutMs; falls back to 2000 when unset.
  • healthcheck.cacheResultMs — when greater than 0, caches the aggregated runChecks() result (via getCache()) for that many milliseconds so repeated calls within the window skip re-running checks; falls back to 0 (disabled).

There is no config key to disable the GET /health/GET /ready routes — they are registered automatically in onAfterInit whenever @quik/http is loaded and an IQHTTPEngine is active.