Skip
kit.start() on serverless platforms. Run checks on demand there, and use scheduling only in
long-lived processes.Behavior
start()is idempotent; a second call does nothing.stop()clears intervals and the cache.- When a cached result is used, that check’s
latencyis 0 andcachedAtis an ISO timestamp on the check result.
adapter.check() directly (there is no per-request timeout wrapper in the scheduler). Timeouts still apply when there is no cache entry and the probe runs the check on demand.
Timers use unref when available so they do not keep the process alive by themselves.