chore: add config, prisma schema and client (Prisma 7 adapter)

This commit is contained in:
2026-08-10 14:23:31 +02:00
parent df3b6dc8c9
commit 28159d0a4a
6 changed files with 127 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
export const config = {
DOWNLOAD_LINK_TTL_HOURS: 24,
WORKER_CONCURRENCY: 3,
WORKER_POLL_INTERVAL_MS: 10_000,
STORAGE_PATH: process.env.STORAGE_PATH ?? '',
RATE_LIMIT_MAX: 5,
RATE_LIMIT_WINDOW_MS: 3_600_000,
} as const