Interface QueueBaseOptions

Base Queue options

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

Hierarchy (view full)

Properties

blockingConnection?: boolean

Denotes commands should retry indefinitely.

Deprecated

not in use anymore.

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