Skip to content

Commit c3d9078

Browse files
committed
fix: AREX should take more jobs into account while getting the CE state
1 parent 0b13bd2 commit c3d9078

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
@@ -667,7 +667,7 @@ def getCEStatus(self):
667667
for qi in queueInfo:
668668
if qi["ID"].endswith(magic):
669669
result["RunningJobs"] = int(qi["RunningJobs"])
670-
result["WaitingJobs"] = int(qi["WaitingJobs"])
670+
result["WaitingJobs"] = int(qi["WaitingJobs"]) + int(qi["StagingJobs"]) + int(qi["PreLRMSWaitingJobs"])
671671
break # Pick the first (should be only ...) matching queue + VO
672672
else:
673673
return S_ERROR(f"Could not find the queue {self.queue} associated to VO {vo}")

0 commit comments

Comments
 (0)