Projektstart
This commit is contained in:
19
backend/node_modules/bullmq/dist/esm/interfaces/advanced-options.d.ts
generated
vendored
Normal file
19
backend/node_modules/bullmq/dist/esm/interfaces/advanced-options.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { BackoffStrategy } from '../types/backoff-strategy';
|
||||
import { RepeatStrategy } from '../types/repeat-strategy';
|
||||
export interface AdvancedRepeatOptions {
|
||||
/**
|
||||
* A custom cron strategy.
|
||||
*/
|
||||
repeatStrategy?: RepeatStrategy;
|
||||
/**
|
||||
* A hash algorithm to be used when trying to create the job redis key.
|
||||
* Default - md5
|
||||
*/
|
||||
repeatKeyHashAlgorithm?: string;
|
||||
}
|
||||
export interface AdvancedOptions extends AdvancedRepeatOptions {
|
||||
/**
|
||||
* A custom backoff strategy.
|
||||
*/
|
||||
backoffStrategy?: BackoffStrategy;
|
||||
}
|
||||
Reference in New Issue
Block a user