Set the priority for deliverRunSubscriptions & deliverRunSubscription to zero (the highest)

This commit is contained in:
Matt Aitken
2024-06-03 20:13:39 +01:00
parent b703ffed29
commit a49a0ff416
+2 -2
View File
@@ -455,7 +455,7 @@ function getWorkerQueue() {
},
},
deliverRunSubscriptions: {
priority: 1, // smaller number = higher priority
priority: 0, // smaller number = higher priority
maxAttempts: 5,
handler: async (payload, job) => {
const service = new DeliverRunSubscriptionsService();
@@ -464,7 +464,7 @@ function getWorkerQueue() {
},
},
deliverRunSubscription: {
priority: 1, // smaller number = higher priority
priority: 0, // smaller number = higher priority
maxAttempts: 13,
handler: async (payload, job) => {
const service = new DeliverRunSubscriptionService();