Fix cache import to be dynamic

This commit is contained in:
Owen
2026-05-21 14:43:50 -07:00
parent 3b89104a59
commit d1fb2e19d3
2 changed files with 12 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
import { z } from "zod";
import { db, logsDb, statusHistory } from "@server/db";
import { and, eq, gte, asc } from "drizzle-orm";
import { regionalCache as cache } from "@server/private/lib/cache";
import { regionalCache as cache } from "#dynamic/lib/cache";
const STATUS_HISTORY_CACHE_TTL = 60; // seconds