SequelizeHealthIndicator
The SequelizeHealthIndicator contains health indicators which are used for health checks related to Sequelize
class SequelizeHealthIndicator extends HealthIndicator {
pingCheck(key: string, options: SequelizePingCheckSettings = {}): Promise<HealthIndicatorResult>
// inherited from terminus/lib/HealthIndicator
protected getStatus(key: string, isHealthy: boolean, data?: { [key: string]: any; }): HealthIndicatorResult
}
Methods
pingCheck() | |||||||||
---|---|---|---|---|---|---|---|---|---|
Checks if the Sequelize responds in (default) 1000ms and returns a result object corresponding to the result |
|||||||||
Parameters
Examples
Returns
|