Configures health reporting. This is used as a part of DappetizerConfigUsingDb.

Example

Sample usage (all properties specified explicitly) within dappetizer.config.ts file:

import { DappetizerConfigUsingDb } from '@tezos-dappetizer/database';

const config: DappetizerConfigUsingDb = {
health: {
healthStatusCacheSeconds: 5,
},
... // Other config parts.
};

export default config;

Hierarchy

  • HealthDappetizerConfig

Properties

healthStatusCacheSeconds?: number

Configures how long is the status of respective (which support caching) health checks cached.

Default

5

Generated using TypeDoc