From 1cf1a85c1bcf53e02273848b488d664b5bf3f275 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 14 Oct 2024 13:22:36 -0500 Subject: BugFix: Use provided prefix Use the provided prefix rather than calling `jobs.jobsnamespace()` function that depends of an app context existing. --- scripts/rqtl2/entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/rqtl2') diff --git a/scripts/rqtl2/entry.py b/scripts/rqtl2/entry.py index b7fb68e..5c7e7e4 100644 --- a/scripts/rqtl2/entry.py +++ b/scripts/rqtl2/entry.py @@ -26,7 +26,7 @@ def build_main(args: Namespace, with (Redis.from_url(args.redisuri, decode_responses=True) as rconn, database_connection(args.databaseuri) as dbconn): - fqjobid = jobs.job_key(jobs.jobsnamespace(), args.jobid) + fqjobid = jobs.job_key(args.redisprefix, args.jobid) logger.addHandler(setup_redis_logger( rconn, fqjobid, -- cgit v1.2.3