Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface QueueOptions

Options for the Queue class.

Hierarchy

Index

Properties

blockingConnection?: boolean

Denotes commands should retry indefinitely.

connection?: ConnectionOptions

Options for connecting to a Redis instance.

defaultJobOptions?: BaseJobOptions
limiter?: { groupKey: string }

Options for the rate limiter.

Type declaration

  • groupKey: string

    Group key to be used by the limiter when limiting by group keys.

prefix?: string

Prefix for all queue keys.

sharedConnection?: boolean

Specify if the connection is shared.

streams?: { events: { maxLen: number } }

Options for the streams used internally in BullMQ.

Type declaration

  • events: { maxLen: number }

    Options for the events stream.

    • maxLen: number

      Max approximated length for streams. Default is 10 000 events.

Generated using TypeDoc