freescout2ant/Console
Claude f9365d284c
Fix job table bloat blocking notifications by processing archives synchronously
The ameise:archive-threads command dispatched queued jobs every 5 minutes
without deduplication. Unprocessed threads generated duplicate jobs on each
run, flooding the default queue with thousands of entries and blocking
FreeScout notification delivery for hours or days.

Changes:
- Process thread archiving synchronously instead of dispatching queue jobs
- Add batch limit (50 threads per run) to prevent long-running processes
- Add try/catch per thread so one failure doesn't block remaining threads
- Early return when no archived conversations exist

https://claude.ai/code/session_01F1R3La9fZNWKwEyxLXFmk4
2026-03-11 22:57:18 +00:00
..
Commands Fix job table bloat blocking notifications by processing archives synchronously 2026-03-11 22:57:18 +00:00
.gitkeep new code 2023-09-16 16:00:05 +05:30