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 retryDelay to 500ms

Steven Teyb899155d5026
diff --git a/apps/web/lib/api/utils/with-prisma-retry.ts b/apps/web/lib/api/utils/with-prisma-retry.ts
index 52bf81fbf4..edc6acab97 100644
--- a/apps/web/lib/api/utils/with-prisma-retry.ts
+++ b/apps/web/lib/api/utils/with-prisma-retry.ts
@@ -2,7 +2,7 @@ import { Prisma } from "@dub/prisma/client";
const DEFAULT_CONFIG = {
maxRetries: 3,
- retryDelay: 1000, // 1 second
+ retryDelay: 500, // 500ms
exponentialBackoff: true,
};