general: hot path cooldown

This commit is contained in:
Michael Freno
2026-01-11 14:24:28 -05:00
parent df56a5ede8
commit 9fc0a73fea
6 changed files with 317 additions and 51 deletions

View File

@@ -1,7 +1,6 @@
import { initTRPC, TRPCError } from "@trpc/server";
import type { APIEvent } from "@solidjs/start/server";
import { getCookie } from "vinxi/http";
import { env } from "~/env/server";
import { logVisit, enrichAnalyticsEntry } from "~/server/analytics";
import { getRequestIP } from "vinxi/http";
import { getAuthSession } from "~/server/session-helpers";