Type alias CompressableJobOptions

CompressableJobOptions: {
    debounce?: DebounceOptions;
    deduplication?: DebounceOptions;
    failParentOnFailure?: boolean;
    ignoreDependencyOnFailure?: boolean;
    removeDependencyOnFailure?: boolean;
    telemetry?: {
        metadata?: string;
        omitContext?: boolean;
    };
}

These options will be stored in Redis with smaller keys for compactness.

Type declaration

  • Optional debounce?: DebounceOptions

    Debounce options.

    Deprecated

    use deduplication option

  • Optional deduplication?: DebounceOptions

    Deduplication options.

  • Optional failParentOnFailure?: boolean

    If true, moves parent to failed.

  • Optional ignoreDependencyOnFailure?: boolean

    If true, moves the jobId from its parent dependencies to failed dependencies when it fails after all attempts.

  • Optional removeDependencyOnFailure?: boolean

    If true, removes the job from its parent dependencies when it fails after all attempts.

  • Optional telemetry?: {
        metadata?: string;
        omitContext?: boolean;
    }

    Telemetry options

    • Optional metadata?: string

      Metadata, used for context propagation.

    • Optional omitContext?: boolean

      If true telemetry will omit the context propagation

      Default

      false
      

Generated using TypeDoc