Configures generic time related features. This is used as a part of DappetizerConfigUsingDb.
Sample usage (all properties specified explicitly) within dappetizer.config.ts file:
dappetizer.config.ts
import { DappetizerConfigUsingDb } from '@tezos-dappetizer/database';const config: DappetizerConfigUsingDb = { time: { longExecutionWarningMillis: 1_000, }, ... // Other config parts.};export default config;
Optional
The time in milliseconds after which a warning is logged for an operation that takes loo long to execute.
An integer greater than 1.
1
3_000 (3 seconds)
3_000
Generated using TypeDoc
Configures generic time related features. This is used as a part of DappetizerConfigUsingDb.
Example
Sample usage (all properties specified explicitly) within
dappetizer.config.ts
file: