FreeScout module to connect to Ameise API
Find a file
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
.github Revert "clear git cache" 2023-07-21 16:25:32 +05:30
Config Disable verbose Ameise logging by default 2025-12-13 11:43:20 +01:00
Console Fix job table bloat blocking notifications by processing archives synchronously 2026-03-11 22:57:18 +00:00
Database fix auto archive issue 2023-12-16 19:08:20 +05:30
Entities Add Thread import 2025-06-04 11:27:40 +02:00
Http Archive only first note thread for phone tickets 2026-02-13 19:11:41 +01:00
Jobs Refactor CRM integration 2025-06-04 19:49:10 +02:00
Providers Handle archives when forwarding 2025-06-08 20:30:16 +02:00
Public Remove unused duplicate jQuery files 2026-03-11 22:45:31 +00:00
Resources fix typo 2026-01-15 09:39:39 +01:00
Services Handle server-side CRM API errors in archive client 2026-03-06 23:41:38 +01:00
composer.json add composer description 2025-05-10 00:52:22 +02:00
LICENSE.md add LICENSE.md 2024-04-12 14:28:22 +02:00
module.json package update 2023-12-20 17:44:05 +05:30
README.md Disable verbose Ameise logging by default 2025-12-13 11:43:20 +01:00
start.php new code 2023-09-16 16:00:05 +05:30

Ameise Freescout Package

Installation

  1. Download the latest module zip file via the releases card on the right.
  2. Transfer the zip file to the server in the Modules/AmeiseModule folder of FreeScout.
  3. Unpack the zip file.
  4. Remove the zip file.
  5. Activate the module via the Modules page in FreeScout. Log in to Ameise to connect.

Update instructions

  1. Download the latest module zip file via the releases card on the right.
  2. Transfer the zip file to the server in the Modules/AmeiseModule folder of FreeScout.
  3. Remove the content of the folder AmeiseModule
  4. Unpack the zip file.
  5. Remove the zip file.
  6. Activate the module via the Modules page in FreeScout.

Logging

Verbose module logs (including Cron-Logeinträge) are disabled by default to avoid ein übermäßiges Wachstum der activity_logs-Tabelle. Bei Bedarf können Sie sie über die Umgebungsvariable AMEISE_LOG_STATUS=true wieder aktivieren.

Attachment Handling

Image attachments are automatically converted to PDF before being archived.