From e1ecf20346682b9d9847329ad6c9a9b6a98e9c3e Mon Sep 17 00:00:00 2001 From: Esdras Renan Date: Wed, 19 Nov 2025 16:02:37 -0300 Subject: [PATCH] fix: allow 90d analytics window --- convex/reports.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convex/reports.ts b/convex/reports.ts index e7ef002..da6fbd4 100644 --- a/convex/reports.ts +++ b/convex/reports.ts @@ -52,7 +52,7 @@ export const ONE_DAY_MS = 24 * 60 * 60 * 1000; const REPORTS_PAGE_SIZE = 200; const RESOLVED_CHUNK_MS = 6 * 60 * 60 * 1000; -const MAX_RANGE_DAYS = 14; +const MAX_RANGE_DAYS = 90; const MAX_RANGE_MS = MAX_RANGE_DAYS * ONE_DAY_MS; const CACHE_TTL_MS = 60_000; const LOCK_TTL_MS = 45_000;