Skip to content

Commit a51ff78

Browse files
authored
Merge pull request #7080 from fstagni/80_fixes62
[8.0] fix: disable activityMonitoring for JobAgent
2 parents 4454fcd + 8c76869 commit a51ff78

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)