Skip to content

Commit 8c76869

Browse files
committed
fix: disable activityMonitoring for JobAgent
1 parent 4454fcd commit 8c76869

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/DIRAC/WorkloadManagementSystem/Agent/JobAgent.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,14 @@ class JobAgent(AgentModule):
4444

4545
def __init__(self, agentName, loadName, baseAgentName=False, properties=None):
4646
"""Just defines some default parameters"""
47+
4748
if not properties:
4849
properties = {}
4950
super().__init__(agentName, loadName, baseAgentName, properties)
5051

52+
# disable activity monitoring for this agent
53+
self.activityMonitoring = False
54+
5155
# Inner CE
5256
# CE type the JobAgent submits to. It can be "InProcess" or "Pool" or "Singularity".
5357
self.ceName = "InProcess"

0 commit comments

Comments
 (0)