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.

Queue the deactivation search sync off the request path

Rafi3059dd57c202
diff --git a/apps/web/lib/api/partners/process-partner-deactivation.ts b/apps/web/lib/api/partners/process-partner-deactivation.ts
index d118277d0b..42827a27bd 100644
--- a/apps/web/lib/api/partners/process-partner-deactivation.ts
+++ b/apps/web/lib/api/partners/process-partner-deactivation.ts
@@ -94,7 +94,7 @@ export async function processPartnerDeactivation({
// Queue an index update because the enrollment statuses moved to deactivated.
// Outside the user branch below, which only runs for operator-driven
// deactivations.
- await queuePartnerSearchSync({ partnerIds, programId });
+ waitUntil(queuePartnerSearchSync({ partnerIds, programId }));
if (user) {
waitUntil(