Interface RepeatBaseOptions

Options for the Repeat class.

interface RepeatBaseOptions {
    blockingConnection?: boolean;
    connection: ConnectionOptions;
    prefix?: string;
    settings?: AdvancedRepeatOptions;
    skipVersionCheck?: boolean;
    skipWaitingForReady?: boolean;
    telemetry?: Telemetry<any>;
}

Hierarchy (view full)

Properties

blockingConnection?: boolean

Denotes commands should retry indefinitely.

Deprecated

connection: ConnectionOptions

Options for connecting to a Redis instance.

prefix?: string

Prefix for all queue keys.

skipVersionCheck?: boolean

Avoid version validation to be greater or equal than v5.0.0.

Default Value

false
skipWaitingForReady?: boolean

Skip waiting for connection ready.

In some instances if you want the queue to fail fast if the connection is not ready you can set this to true. This could be useful for testing and when adding jobs via HTTP endpoints for example.

telemetry?: Telemetry<any>

Telemetry client

Generated using TypeDoc