mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
fix RateLimiter
This commit is contained in:
Vendored
+4
-2
@@ -31,9 +31,11 @@ declare const Bull: {
|
||||
declare namespace Bull {
|
||||
interface RateLimiter {
|
||||
/** Max numbers of jobs processed */
|
||||
max: number;
|
||||
max?: number;
|
||||
/** Per duration in milliseconds */
|
||||
duration: number;
|
||||
duration?: number;
|
||||
/** When jobs get rate limited, they stay in the waiting queue and are not moved to the delayed queue */
|
||||
bounceBack?: boolean;
|
||||
}
|
||||
|
||||
interface QueueOptions {
|
||||
|
||||
Reference in New Issue
Block a user