bullmq - v5.52.2
    Preparing search index...

    Interface QueueOptions

    Options for the Queue class.

    interface QueueOptions {
        blockingConnection?: boolean;
        connection?: ConnectionOptions;
        defaultJobOptions?: DefaultJobOptions;
        prefix?: string;
        settings?: AdvancedRepeatOptions;
        sharedConnection?: boolean;
        skipMetasUpdate?: boolean;
        streams?: { events: { maxLen: number } };
    }

    Hierarchy (View Summary)

    Index

    Properties

    blockingConnection?: boolean

    Denotes commands should retry indefinitely.

    connection?: ConnectionOptions

    Options for connecting to a Redis instance.

    defaultJobOptions?: DefaultJobOptions
    prefix?: string

    Prefix for all queue keys.

    sharedConnection?: boolean

    Specify if the connection is shared.

    skipMetasUpdate?: boolean

    Skip Meta update.

    If true, the queue will not update the metadata of the queue. Useful for read-only systems that do should not update the metadata.

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

    OSZAR »