Probe timeout 10s and 2 gunicorn workers

FixKlusterServices
已装运
2026年4月30日 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.

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价