fix RateLimiter

This commit is contained in:
mtAlves
2019-01-17 15:00:33 -02:00
parent 57c4cca47b
commit de507537e5
+4 -2
View File
@@ -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 {