Skip to content

Commit

Permalink
manager: don't allocate too many on-demand resources
Browse files Browse the repository at this point in the history
Fixes: #129
  • Loading branch information
praiskup committed Nov 6, 2023
1 parent 871b629 commit ea0a475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resallocserver/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ def _allocate_more_resources(self, event):
if self._too_soon():
break

self.start_on_demand_this_cycle -= 0
self.start_on_demand_this_cycle -= 1
self.allocate(event)

def _clean_unknown_resources(self, event):
Expand Down

0 comments on commit ea0a475

Please sign in to comment.