From 1e0f18f63e5d67f920bdfe1bf9162b92bddb1769 Mon Sep 17 00:00:00 2001 From: "Jens L." Date: Mon, 6 Apr 2026 12:34:37 +0100 Subject: [PATCH] lifecycle: disable gunicorn control socket (#21408) * lifecycle: disable gunicorn control socket Signed-off-by: Jens Langhammer * format Signed-off-by: Jens Langhammer --------- Signed-off-by: Jens Langhammer --- lifecycle/gunicorn.conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lifecycle/gunicorn.conf.py b/lifecycle/gunicorn.conf.py index cda3814af2..d7aa1cb812 100644 --- a/lifecycle/gunicorn.conf.py +++ b/lifecycle/gunicorn.conf.py @@ -50,6 +50,8 @@ logconfig_dict = get_logger_config() workers = CONFIG.get_int("web.workers", 2) threads = CONFIG.get_int("web.threads", 4) +control_socket_disable = True + def post_fork(server: "Arbiter", worker: DjangoUvicornWorker): # noqa: UP037 """Tell prometheus to use worker number instead of process ID for multiprocess"""