From 608de9905a4354b6970db0c06ee4b1b729d9a85d Mon Sep 17 00:00:00 2001 From: Paul Repin Date: Mon, 9 Dec 2024 19:55:48 +0300 Subject: [PATCH] Fix: Add missing connection parameter for jobs with dependencies --- rq_dashboard/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq_dashboard/web.py b/rq_dashboard/web.py index e8ca7f9..3d63d11 100644 --- a/rq_dashboard/web.py +++ b/rq_dashboard/web.py @@ -620,7 +620,7 @@ def job_info(instance_number, job_id): status = [] for dep_id in dep_ids: try: - _ = Job.fetch(dep_id, serializer=config.serializer) + _ = Job.fetch(dep_id, serializer=config.serializer, connection=current_app.redis_conn) status.append('active') except NoSuchJobError: status.append('expired')