From 91515705852861bdce426e0ec4d95cfb4f37afba Mon Sep 17 00:00:00 2001 From: Jonathan Chen Date: Wed, 13 May 2026 13:58:43 +1200 Subject: [PATCH] [FIX] Translate 0.0.0.0 to localhost for BSD systems. --- queue_job/jobrunner/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queue_job/jobrunner/runner.py b/queue_job/jobrunner/runner.py index 7fd91d68b..54ee75c24 100644 --- a/queue_job/jobrunner/runner.py +++ b/queue_job/jobrunner/runner.py @@ -354,7 +354,7 @@ def from_environ_or_config(cls): host = ( os.environ.get("ODOO_QUEUE_JOB_HOST") or queue_job_config.get("host") - or config["http_interface"] + or config["http_interface"] if config["http_interface"] != "0.0.0.0" else "localhost" ) port = ( os.environ.get("ODOO_QUEUE_JOB_PORT")