A HealthCheckStrategy used to check the health of the database. Since v3.6.0 it is not executed and will be removed in v4.0.0. The example below shows the pre-v3.6.0 configuration:
Example
import { TypeORMHealthCheckStrategy } from '@vendure/core';export const config = { // ... systemOptions: { healthChecks:[ // The default key is "database" and the default timeout is 1000ms new TypeORMHealthCheckStrategy({ key: 'postgres-db', timeout: 5000 }), ] }}class TypeORMHealthCheckStrategy implements HealthCheckStrategy { constructor(options?: TypeORMHealthCheckOptions) init(injector: Injector) => ; getHealthIndicator() => HealthIndicatorFunction;}HealthCheckStrategy