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.

make maxRetries 3

Kiran K5372ba968c50
diff --git a/apps/web/lib/api/utils/with-prisma-retry.ts b/apps/web/lib/api/utils/with-prisma-retry.ts
index 7b4877a720..9f18f7336c 100644
--- a/apps/web/lib/api/utils/with-prisma-retry.ts
+++ b/apps/web/lib/api/utils/with-prisma-retry.ts
@@ -1,7 +1,7 @@
import { Prisma } from "@dub/prisma/client";
const DEFAULT_CONFIG = {
- maxRetries: 2,
+ maxRetries: 3,
retryDelay: 1000, // 1 second
exponentialBackoff: true,
};