Interface WorkerOptions

Base Queue options

Hierarchy

Properties

autorun?: boolean

Condition to start processor at instance creation.

blockingConnection?: boolean

Denotes commands should retry indefinitely.

concurrency?: number

Amount of jobs that a single worker is allowed to work on in parallel.

See

https://docs.bullmq.io/guide/workers/concurrency

connection?: ConnectionOptions

Options for connecting to a Redis instance.

drainDelay?: number
lockDuration?: number
lockRenewTime?: number
maxStalledCount?: number

Amount of times a job can be recovered from a stalled state to the wait state. If this is exceeded, the job is moved to failed.

metrics?: MetricsOptions

Enable collect metrics.

See

https://docs.bullmq.io/guide/metrics

prefix?: string

Prefix for all queue keys.

runRetryDelay?: number
settings?: AdvancedOptions
sharedConnection?: boolean

Specify if the connection is shared.

skipDelayCheck?: boolean
stalledInterval?: number

Number of milliseconds between stallness checks.

Generated using TypeDoc