Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Aug 31, 2021
1 parent 4785546 commit dfb1a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/active_memory_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _run_policies(self) -> None:
ts: TaskState
nreplicas: int

for policy in self.policies:
for policy in list(self.policies): # a policy may remove itself
policy_gen = policy.run()
ws = None
while True:
Expand Down

0 comments on commit dfb1a09

Please sign in to comment.