mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
lifecycle: disable gunicorn control socket (#21408)
* lifecycle: disable gunicorn control socket Signed-off-by: Jens Langhammer <jens@goauthentik.io> * format Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user