KamoCRM

Raise client read timeout to 120s for long messages

FixMediaService
Name
lúc 17:38 30 tháng 4, 2026 UTC
Tác giả
Kamo
Cam kết
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.

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Tất cả những thứ đó đều đến trong không gian làm việc của anh. Bắt đầu với kế hoạch miễn phí và đọc lại trang này trong một tháng.

Bắt đầu tự do mãi mãiXem truy cập