starting to add qm sessions and symbols
This commit is contained in:
parent
e9ff913b7e
commit
f05d26d703
13 changed files with 652 additions and 432 deletions
|
|
@ -176,6 +176,7 @@ export class QueueManager {
|
|||
tz: 'UTC',
|
||||
immediately: job.immediately || false,
|
||||
},
|
||||
delay: job.delay || 0,
|
||||
removeOnComplete: 1,
|
||||
removeOnFail: 1,
|
||||
attempts: 2,
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ export interface ScheduledJob {
|
|||
priority?: number;
|
||||
description?: string;
|
||||
immediately?: boolean;
|
||||
delay?: number;
|
||||
}
|
||||
|
||||
export interface ProviderConfig {
|
||||
|
|
|
|||
|
|
@ -5,3 +5,7 @@ export function createProxyUrl(proxy: any): string {
|
|||
}
|
||||
return `${protocol}://${host}:${port}`;
|
||||
}
|
||||
|
||||
export function sleep(ms: number): Promise<void> {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue