Skip to content

Commit

Permalink
Fix #8717 (#8729)
Browse files Browse the repository at this point in the history
Waiting status in GenerateMonit added
  • Loading branch information
aspiringmind-code authored Oct 1, 2024
1 parent f786a6f commit 98bdaa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/script/Monitor/GenerateMONIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def execute(self):
twStatus = self.getCountTasksByStatus()

statesFilter = ['SUBMITTED', 'FAILED', 'QUEUED', 'NEW', 'KILLED', 'KILLFAILED', 'RESUBMITFAILED',
'SUBMITFAILED', 'SUBMITREFUSED', 'TAPERECALL']
'SUBMITFAILED', 'SUBMITREFUSED', 'TAPERECALL', 'WAITING']
if len(twStatus) > 0:
for state in twStatus.keys():
if state in statesFilter:
Expand All @@ -239,7 +239,7 @@ def execute(self):
twStatus = self.getCountTasksByStatusAbs()

statesFilter = ['KILL', 'RESUBMIT', 'NEW', 'QUEUED', 'KILLFAILED', 'RESUBMITFAILED', 'SUBMITFAILED',
'SUBMITREFUSED', 'UPLOADED', 'TAPERECALL']
'SUBMITREFUSED', 'UPLOADED', 'TAPERECALL', 'WAITING']
if len(twStatus) > 0:
for state in statesFilter:
self.jsonDoc['abs_task_states'].update({str(state): 0})
Expand Down

0 comments on commit 98bdaa7

Please sign in to comment.