Probe timeout 10s and 2 gunicorn workers

FixKlusterServices
Порезанный
30 апреля 2026 г. в 18:31 UTC
Автор
Kamo
Обещать
b2af4e5

LibreTranslate's /languages probe blocks on the gunicorn worker event loop. With a single worker translating a long chat message, the probe times out at the default 1s and kubelet kills an otherwise-healthy pod. Two failures hit users: - "Connection refused" hammering MediaService while the pod restarts - ~3s outage every time gunicorn recycles its only worker Bump probe timeoutSeconds to 10s on liveness/readiness/startup, raise liveness failureThreshold to 10, and run 2 workers so a recycle of one doesn't take the service down. CPU limit raised to 2 cores so the workers don't queue behind each other on busy translations.

Все изменения

Как вы видите судоходство?

Каждое из этих обновлений автоматически попадает в ваше рабочее пространство. Начните бесплатно и смотрите, как он растет неделю за неделей.

Начните бесплатно навсегдаПосмотреть цены