@taskforcesh/bullmq-pro - v7.35.2
    Preparing search index...

    Interface WorkerProOptions

    interface WorkerProOptions {
        batch?: { size?: number };
        group?: { concurrency?: number; limit?: { duration: number; max: number } };
        ttl?: number | JobTtlMap;
    }

    Hierarchy

    • WorkerOptions
      • WorkerProOptions
    Index

    Properties

    Properties

    batch?: { size?: number }

    Type declaration

    group?: { concurrency?: number; limit?: { duration: number; max: number } }

    Type declaration

    • Optionalconcurrency?: number

      Maximum number of simultaneous jobs that the workers can handle within a specific group. For instance, setting this value to 1 ensures that no more than one job from the same group is processed at any given time. If this limit is not defined, there will be no restriction on the number of concurrent jobs.

    • Optionallimit?: { duration: number; max: number }
    ttl?: number | JobTtlMap