Bound translation concurrency to 3 threads to prevent DB pool exhaustion

FixSecurityService
Navios
17 de abril de 2026 às 05:24 UTC
Autor
Kamo
Enviar
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.

Todas as alterações

Como o que vês no transporte?

Cada uma dessas atualizações pousa automaticamente em seu espaço de trabalho. Comece grátis e veja crescer semana após semana.

Começar Livre Para SempreVer Preços