From 7cdf3ae91cfbdd1fda526b3aef2caa3e46620da1 Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Sun, 14 Dec 2025 10:23:24 +0100 Subject: [PATCH] bodhi-stg: disable returning back celery results Signed-off-by: Mattia Verga --- roles/bodhi2/base/templates/celeryconfig.py.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/bodhi2/base/templates/celeryconfig.py.j2 b/roles/bodhi2/base/templates/celeryconfig.py.j2 index 4d000496b4..d4c57d64cd 100644 --- a/roles/bodhi2/base/templates/celeryconfig.py.j2 +++ b/roles/bodhi2/base/templates/celeryconfig.py.j2 @@ -37,9 +37,11 @@ broker_transport_options = { # Where the tasks are defined imports = "bodhi.server.tasks" +{% if env == 'production' %} # Send back tasks results so we can wait for them result_backend = 'rpc://' result_persistent = True +{% endif %} # Task routing task_routes = {