From 543e12296029e867879b7ad18a94d56bc3fd1729 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Thu, 18 Jul 2024 10:23:29 +0200
Subject: [PATCH] Specify namespace for nomad statistics job

---
 .../services/qa_statistics_service/qa_statistics_service.py     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SAS/TMSS/backend/services/qa_statistics_service/qa_statistics_service.py b/SAS/TMSS/backend/services/qa_statistics_service/qa_statistics_service.py
index a9ae13a60d9..a25a486a369 100755
--- a/SAS/TMSS/backend/services/qa_statistics_service/qa_statistics_service.py
+++ b/SAS/TMSS/backend/services/qa_statistics_service/qa_statistics_service.py
@@ -142,7 +142,7 @@ class TMSSQAStatisticsServiceEventMessageHandler(TMSSEventMessageHandler):
 
         self.active_qa_subtasks = {}
 
-        self.dispatcher = JobDispatcher("statistics-aggregate")
+        self.dispatcher = JobDispatcher("statistics-aggregate", namespace="statistics")
 
         # Sense whether lingering jobs from previous runs are still active in nomad
         self.reconstruct_active_qa_subtasks()
-- 
GitLab