mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix: assign the rule job with priority 1 and do not retry
This commit is contained in:
parent
814a2bf519
commit
2eedba1522
1 changed files with 2 additions and 0 deletions
|
|
@ -655,6 +655,8 @@ export const enqueueTriggerRuleJob = async (data: TriggerRuleJobData) => {
|
|||
}
|
||||
|
||||
return queue.add(TRIGGER_RULE_JOB_NAME, data, {
|
||||
priority: 1,
|
||||
attempts: 1,
|
||||
removeOnComplete: true,
|
||||
removeOnFail: true,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue