Spaces:
Running
Running
Commit History
-
feat: Implement dashboard statistics service with in-memory cache, async Supabase persistence, and expose it via the unified API.
33dee12
-
feat: write-through async dashboard with in-memory cache
- Rewrite StatsService with in-memory read cache + fire-and-forget Supabase writes - log_lookup() is now ~0ms (was ~200ms synchronous Supabase INSERT) - Dashboard reads serve from in-memory aggregation (instant) - Background retry with exponential backoff for failed Supabase writes - Startup hydration loads last 30 days from Supabase - Dashboard always enabled (graceful degradation when Supabase is down) - Add /dashboard/status diagnostic endpoint - Add Supabase dependency and config - Add stats tracking to all analysis endpointsdd1eee1