Bound translation concurrency to 3 threads to prevent DB pool exhaustion

FixSecurityService
已装运
2026年4月17日 05:24 UTC
作者
Kamo
提交
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.

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价