From 7601e377b4c28d28618f3635313692fc73f0e06c Mon Sep 17 00:00:00 2001 From: Matthias Nannt Date: Tue, 19 Mar 2024 20:17:44 +0100 Subject: [PATCH] chore: change caching revalidation interval to 30minutes --- packages/lib/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/constants.ts b/packages/lib/constants.ts index 8a66195a16..41a47d3e9d 100644 --- a/packages/lib/constants.ts +++ b/packages/lib/constants.ts @@ -4,7 +4,7 @@ import { env } from "./env"; export const IS_FORMBRICKS_CLOUD = env.IS_FORMBRICKS_CLOUD === "1"; export const REVALIDATION_INTERVAL = 0; //TODO: find a good way to cache and revalidate data when it changes -export const SERVICES_REVALIDATION_INTERVAL = 60 * 60 * 3; // 3 hours +export const SERVICES_REVALIDATION_INTERVAL = 60 * 30; // 30 minutes export const MAU_LIMIT = IS_FORMBRICKS_CLOUD ? 9000 : 1000000; // URLs