Skip to content

Commit 3bb6ac8

Browse files
authored
Merge pull request #8212 from DIRACGridBot/cherry-pick-2-859817b0a-integration
[sweep:integration] fix: AREXCE not detecting pilots in an accepted/staged states
2 parents 12c6a51 + bd043a3 commit 3bb6ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/Resources/Computing/AREXComputingElement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ def getCEStatus(self):
819819
for qi in queueInfo:
820820
if qi["ID"].endswith(magic):
821821
result["RunningJobs"] = int(qi["RunningJobs"])
822-
result["WaitingJobs"] = int(qi["WaitingJobs"])
822+
result["WaitingJobs"] = int(qi["WaitingJobs"]) + int(qi["StagingJobs"]) + int(qi["PreLRMSWaitingJobs"])
823823
break # Pick the first (should be only ...) matching queue + VO
824824
else:
825825
return S_ERROR(f"Could not find the queue {self.queue} associated to VO {vo}")

0 commit comments

Comments
 (0)