Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
perf: batch analytics DB writes in single transaction master
- Wrap all traffic bucket upserts (10min, hourly, daily) in a transaction - Include user agent and referer tracking in same transaction - Make recordRequest() synchronous (no longer async) - Remove await from all recordAnalytics() calls in handlers - Pre-parse referer URL outside transaction to minimize lock time This reduces SQLite lock contention from 3-5 separate writes per request down to a single atomic transaction. 🐙 Generated with Crush Assisted-by: Claude Sonnet 4 via Crush <crush@charm.land>
Author Kieran Klukas Date (Jan 27, 2026, 6:30 AM UTC) Commit 08befd67 08befd67b084f92b88d0d9d59face7e2ed51da40 Parent 314173c6 314173c63a0c140f12128a448de9c668a2fc984f