The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: increase timeout of stripe sync engine install (#43932)
Matt Linkous46a793a32d43
diff --git a/apps/studio/pages/api/integrations/stripe-sync.ts b/apps/studio/pages/api/integrations/stripe-sync.tsindex be245948a41..c55cd743ee8 100644--- a/apps/studio/pages/api/integrations/stripe-sync.ts+++ b/apps/studio/pages/api/integrations/stripe-sync.ts@@ -28,6 +28,10 @@ function getBearerToken(req: NextApiRequest) {return match?.[1]?.trim() ?? null}+export const config = {+ maxDuration: 300, // 5 minutes, since the installation process can take a while even if happening in background+}+export default async function handler(req: NextApiRequest, res: NextApiResponse) {// Hide endpoint if the integration is disabled.if (!(await isStripeSyncEnabled())) {