Bound translation concurrency to 3 threads to prevent DB pool exhaustion

FixSecurityService
ส่งแล้ว
17 เมษายน 2569 เวลา 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.

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์