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 resilience.ts

Rafid5664b8f6b71
diff --git a/apps/web/lib/api/partners/search/providers/resilience.ts b/apps/web/lib/api/partners/search/providers/resilience.ts
index 047f90d4a4..d64e54d0ae 100644
--- a/apps/web/lib/api/partners/search/providers/resilience.ts
+++ b/apps/web/lib/api/partners/search/providers/resilience.ts
@@ -54,7 +54,7 @@ export async function withTransientRetry<T>(
* not cancelled — `Promise.race` cannot do that — so only pass work that
* settles on its own.
*/
-export async function withDeadline<T>(
+async function withDeadline<T>(
operation: () => Promise<T>,
timeoutMs: number,
message: string,