feat: add multi-browser page pooling, render caching, and rate limiting
- Implement browser pool with 2 browsers × 8 pages each - Add page pool with acquire/release lifecycle and page reset between uses - Add render cache with TTL-based expiry and pre-warming before rotation boundaries - Add in-memory view cache to avoid repeated DB reads - Add per-IP rate limiting (2s cooldown) - Add concurrent render limit (16 max) - Refactor database functions with `db` prefix for clarity - Add CONFIG object for all tunable parameters - Add In
This commit is contained in:
+724
-465
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user