Skip to content

Commit

Permalink
use _status not block ID table
Browse files Browse the repository at this point in the history
  • Loading branch information
benclifford committed Jun 7, 2024
1 parent 14dc325 commit 7ad35bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsl/executors/workqueue/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ def scale_in(self, count: int) -> List[str]:
logger.debug("Number of jobs in blocks_to_job_id map: %s", len(self.blocks_to_job_id))

# Obtain list of blocks to kill
to_kill = list(self.blocks_to_job_id.keys())[:count]
to_kill = list(self._status.keys())[:count]

logger.debug("List of blocks to scale in: %s", to_kill)
for block_id in to_kill:
Expand Down

0 comments on commit 7ad35bb

Please sign in to comment.