This repository has no description

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>