| 49 | |
| 50 | declare 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 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…