MCPcopy
hub / github.com/OptimalBits/bull / RateLimiter

Interface RateLimiter

index.d.ts:51–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50declare namespace Bull {
51 interface RateLimiter {
52 /** Max numbers of jobs processed */
53 max: number;
54 /** Per duration in milliseconds */
55 duration: number;
56 /** When jobs get rate limited, they stay in the waiting queue and are not moved to the delayed queue */
57 bounceBack?: boolean | undefined;
58 /** Groups jobs with the specified key from the data object passed to the Queue#add ex. "network.handle" */
59 groupKey?: string | undefined;
60 }
61
62 interface QueueOptions {
63 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…