Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update queue-discount-code-deletion.ts

Kiran K846008676d7b
diff --git a/apps/web/lib/api/discounts/queue-discount-code-deletion.ts b/apps/web/lib/api/discounts/queue-discount-code-deletion.ts
index 23882415f7..2ee46d080d 100644
--- a/apps/web/lib/api/discounts/queue-discount-code-deletion.ts
+++ b/apps/web/lib/api/discounts/queue-discount-code-deletion.ts
@@ -21,11 +21,11 @@ export async function queueDiscountCodeDeletion(
}
await queue.upsert({
- parallelism: 2,
+ parallelism: 10,
});
// TODO:
- // Check if we can use the batchJSON (I tried it didn't work)
+ // Check if we can use the batchJSON (I tried it but didn't work)
await Promise.allSettled(
discountCodeIds.map((discountCodeId) =>