Skip to content

Commit bd043a3

Browse files
aldbrweb-flow
authored andcommitted
sweep: #8208 fix: AREXCE not detecting pilots in an accepted/staged states
1 parent 22d538a commit bd043a3

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)