tpmjs/packages/db/prisma
Ajax Davis e9a7a689a1 perf: reduce Neon compute usage with cron + caching optimizations
- Reduce cron frequency: changes 2min→4hr, keyword 15min→6hr, metrics hourly→daily
- Add Prisma directUrl for connection pooling support
- Add Vercel KV caching to /api/tools endpoint (graceful degradation if not configured)
- Add X-Cache header to indicate cache hit/miss
- Add NEON_COMPUTE_OPTIMIZATION.md with full strategy guide

These changes should reduce Neon CU usage from 100+ to ~20-30 CU-hrs/month.
2025-12-31 12:14:00 +10:00
..
schema.prisma perf: reduce Neon compute usage with cron + caching optimizations 2025-12-31 12:14:00 +10:00
seed.ts feat(db): create database package with Prisma schema for NPM registry 2025-11-28 02:07:39 +10:00