@resistdesign/voltra
    Preparing search index...

    Type Alias TypeInfoORMHealthOperationRecorderConfig

    type TypeInfoORMHealthOperationRecorderConfig = {
        now?: () => number;
        recordFailures?: boolean;
        recordRetentionMs?: number;
        slowOperationMs?: number;
        store: HealthStore;
    }
    Index

    Properties

    now?: () => number

    Clock used for expiry timestamps.

    recordFailures?: boolean

    Persist failed operations even when they are faster than the threshold.

    recordRetentionMs?: number

    Raw operation-record retention. Defaults to 24 hours.

    slowOperationMs?: number

    Minimum successful operation duration to persist. Defaults to 1000 ms.

    Health store that receives noteworthy operation records.