Raise client read timeout to 120s for long messages

FixMediaService
ส่งแล้ว
30 เมษายน 2569 เวลา 17:38 UTC
ผู้เขียน
Kamo
ตั้งค่า
7dd5a0a

LibreTranslate runs CPU-only argos models — a paragraph-length chat message takes 20-30s to translate, and longer ones can push past 60s. The 8-second read timeout meant any non-trivial message silently timed out, fell back to the original text in the provider router, and failed the equality check in MessageTranslationService — so the chat UI just left it in English. Bumped read timeout to 120s and connect timeout to 5s. Also documented why in the configmap so the next person doesn't trim it back.

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

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

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

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