From c333be67cda5ec9530a244ae81289e18e53eba02 Mon Sep 17 00:00:00 2001 From: kenneth Date: Sun, 8 Mar 2026 03:35:32 +0000 Subject: [PATCH] fix(waitlist): add delay before email to avoid rate limit Co-authored-by: Ona --- apps/waitlist-website/app/routes/home.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/waitlist-website/app/routes/home.tsx b/apps/waitlist-website/app/routes/home.tsx index 65eb3b4..d9a0f75 100644 --- a/apps/waitlist-website/app/routes/home.tsx +++ b/apps/waitlist-website/app/routes/home.tsx @@ -81,6 +81,8 @@ export async function action({ request }: Route.ActionArgs) { return { error: FormError.Resend, message: res.error.message } } + await new Promise((resolve) => setTimeout(resolve, 1000)) + const emailRes = await resend.emails.send({ from: "Aelis ", to: email,