localhost_oa_based/src/modules/system/task/constant.ts

13 lines
223 B
TypeScript
Raw Normal View History

2024-02-28 08:32:35 +08:00
export enum TaskStatus {
Disabled = 0,
Activited = 1,
}
export enum TaskType {
Cron = 0,
Interval = 1,
}
export const SYS_TASK_QUEUE_NAME = 'system:sys-task'
export const SYS_TASK_QUEUE_PREFIX = 'system:sys:task'