KamoCRM

Bound translation concurrency to 3 threads to prevent DB pool exhaustion

FixSecurityService
Shipped
17 ஏப்ரல், 2026 அன்று 5:24 AM UTC
Author
Kamo
Commit
292e334

Unbounded @Async (SimpleAsyncTaskExecutor) created 50 threads simultaneously when the retry scheduler fired, each opening a DB transaction and draining HikariCP's connection pool. Add a dedicated 'translationExecutor' capped at 3 threads (queue 500) and bind translateCommitLog to it.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing