From af363e975a5959d17809818f57dad1277f8239e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20L=C3=B3pez?= Date: Fri, 25 Oct 2024 10:19:37 -0700 Subject: [PATCH] fix: disables cache for tasker cron (#17331) --- apps/web/app/api/tasks/cron/route.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/web/app/api/tasks/cron/route.ts b/apps/web/app/api/tasks/cron/route.ts index ca83c5331d..c03ca77b62 100644 --- a/apps/web/app/api/tasks/cron/route.ts +++ b/apps/web/app/api/tasks/cron/route.ts @@ -1 +1,7 @@ export { GET } from "@calcom/features/tasker/api/cron"; + +/** + * This runs each minute and we need fresh data each time + * @see https://nextjs.org/docs/app/building-your-application/caching#opting-out-2 + **/ +export const revalidate = 0;