Skip to content

Commit

Permalink
Don't overly reap
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Jan 10, 2025
1 parent 3e9c557 commit 8a2c437
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ private Map<String, CloudModel> processExtraDevices(Set<String> extraDevices) {
dynamicTerminate(extraDevices.size());
System.err.printf("There were %d/%d already blocked devices.%n", alreadyBlocked.get(),
extraDevices.size());
reapExtraDevices(extraDevices);
reapExtraDevices(difference(getExistingExtras(), extraDevices));
return extras;
} catch (Exception e) {
throw new RuntimeException(format("Processing %d extra devices", extraDevices.size()), e);
Expand Down

0 comments on commit 8a2c437

Please sign in to comment.