mirror of
https://gh.wpcy.net/https://github.com/hayBIT/freescout2ant.git
synced 2026-07-15 22:09:51 +08:00
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 |
||
|---|---|---|
| .. | ||
| ArchiveThreads.php | ||