Files
gabrielvidalandClaude Opus 5.5 c7c0c92fe4 fix(askform): past the 1000-form cap the mirror re-added evicted forms forever
Every sync re-added the oldest closed forms a machine still listed (new +
changed), the GC dropped others, and each read published dozens of askform
SSE events (~2/s since 12:50 on 2026-11-27). Every tab then refetched
/api/inbox/waiting + /api/ask-form/forms, the 40-thread pool sat at 40/40
and every request waited 30 s (phones gave up: Traefik 499s).

- store remembers what its GC dropped; skip_report() keeps the mirror from
  taking those back, or any closed form older than 30 days it doesn't hold
- cap 1000 -> 5000

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 16:13:52 +01:00
..