Skip to content

Commit a71b16d

Browse files
committed
fix: JobMonitoring does not need TaskQueueDB
1 parent cc67709 commit a71b16d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/DIRAC/WorkloadManagementSystem/Service/JobMonitoringHandler.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ def initializeHandler(cls, svcInfoDict):
3232
return result
3333
cls.jobLoggingDB = result["Value"](parentLogger=cls.log)
3434

35-
result = ObjectLoader().loadObject("WorkloadManagementSystem.DB.TaskQueueDB", "TaskQueueDB")
36-
if not result["OK"]:
37-
return result
38-
cls.taskQueueDB = result["Value"](parentLogger=cls.log)
39-
4035
except RuntimeError as excp:
4136
return S_ERROR(f"Can't connect to DB: {excp}")
4237

0 commit comments

Comments
 (0)