mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
ms argument to watchStuckJobs is optional (#36295)
See 87d61503d3/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
2
types/kue/index.d.ts
vendored
2
types/kue/index.d.ts
vendored
@@ -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