mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
ms argument to watchStuckJobs is optional (#36295)
See https://github.com/Automattic/kue/blob/87d61503d3d9cc024633efc7611bd25551f0f87d/lib/kue.js#L270-L273 and documentation: > ```js > queue.watchStuckJobs(interval) > ``` > `interval` is in milliseconds and defaults to 1000ms
This commit is contained in:
committed by
Benjamin Lichtman
parent
d3cf467af3
commit
be41fb29f6
Vendored
+1
-1
@@ -31,7 +31,7 @@ export declare class Queue extends events.EventEmitter {
|
||||
setupTimer(): void;
|
||||
checkJobPromotion(ms: number): void;
|
||||
checkActiveJobTtl(ttlOptions: Object): void;
|
||||
watchStuckJobs(ms: number): void;
|
||||
watchStuckJobs(ms?: number): void;
|
||||
setting(name: string, fn: Function): Queue;
|
||||
process(type: string, fn?: ProcessCallback): void;
|
||||
process(type: string, n: number, fn?: ProcessCallback): void;
|
||||
|
||||
Reference in New Issue
Block a user