Skip to content

Commit 31c8694

Browse files
authored
Merge pull request #7081 from DIRACGridBot/cherry-pick-2-a51ff78c9-integration
[sweep:integration] fix: disable activityMonitoring for JobAgent
2 parents 4b5a821 + e5dead6 commit 31c8694

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
@@ -39,10 +39,14 @@ class JobAgent(AgentModule):
3939

4040
def __init__(self, agentName, loadName, baseAgentName=False, properties=None):
4141
"""Just defines some default parameters"""
42+
4243
if not properties:
4344
properties = {}
4445
super().__init__(agentName, loadName, baseAgentName, properties)
4546

47+
# disable activity monitoring for this agent
48+
self.activityMonitoring = False
49+
4650
# Inner CE
4751
# CE type the JobAgent submits to. It can be "InProcess" or "Pool" or "Singularity".
4852
self.ceName = "InProcess"

0 commit comments

Comments
 (0)