Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WorkerOptions

Hierarchy

Index

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
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

Generated using TypeDoc