docfast/src
Hoid (Backend Dev) 5f776db662
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 12m22s
Fix BUG-099: Add TTL mechanism to provisionedSessions to prevent memory leak
- Replace unbounded Set with Map<sessionId, timestamp> tracking insertion time
- Add periodic cleanup every hour to remove entries older than 24h
- Add on-demand cleanup before duplicate checks for timely cleanup
- Add comprehensive TDD tests verifying TTL behavior:
  * Fresh entries work correctly
  * Stale entries (>24h) get cleaned up
  * Fresh entries survive cleanup
  * Bounded size with many entries
- All 447 tests pass including 4 new TTL tests
- Memory leak fixed while preserving DB-level deduplication
2026-03-03 17:06:38 +01:00
..
__tests__ Fix BUG-099: Add TTL mechanism to provisionedSessions to prevent memory leak 2026-03-03 17:06:38 +01:00
middleware Add standard rate limit headers to PDF conversion endpoints 2026-02-23 07:04:30 +00:00
routes Fix BUG-099: Add TTL mechanism to provisionedSessions to prevent memory leak 2026-03-03 17:06:38 +01:00
services fix: clean up request interceptor in recyclePage to prevent pool contamination 2026-03-02 17:05:45 +01:00
utils feat: validate PDF options with TDD tests 2026-02-28 14:05:32 +01:00
index.ts feat: add email change routes (BUG-090) 2026-02-27 19:04:36 +00:00
openapi-extra.yaml v0.4.1: Code-driven OpenAPI docs via swagger-jsdoc 2026-02-20 07:54:37 +00:00
swagger.ts feat: complete OpenAPI docs with all Puppeteer PDF options 2026-02-21 13:19:31 +00:00