Skip to content

Commit

Permalink
Merge pull request #7080 from fstagni/80_fixes62
Browse files Browse the repository at this point in the history
[8.0] fix: disable activityMonitoring for JobAgent
  • Loading branch information
fstagni authored Jun 28, 2023
2 parents 4454fcd + 8c76869 commit a51ff78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DIRAC/WorkloadManagementSystem/Agent/JobAgent.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,14 @@ class JobAgent(AgentModule):

def __init__(self, agentName, loadName, baseAgentName=False, properties=None):
"""Just defines some default parameters"""

if not properties:
properties = {}
super().__init__(agentName, loadName, baseAgentName, properties)

# disable activity monitoring for this agent
self.activityMonitoring = False

# Inner CE
# CE type the JobAgent submits to. It can be "InProcess" or "Pool" or "Singularity".
self.ceName = "InProcess"
Expand Down

0 comments on commit a51ff78

Please sign in to comment.