Skip to content

Commit

Permalink
[Misc] update scheduler.py (#736)
Browse files Browse the repository at this point in the history
Signed-off-by: Ikko Eltociear Ashimine <[email protected]>
  • Loading branch information
eltociear authored Feb 24, 2025
1 parent 6feec99 commit fcc0896
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/aibrix/aibrix/batch/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def update_job_pool_size(self, new_pool_size):
self.grow_resource()

def shrink_resource(self):
# Alway move jobs to front.
# Always move jobs to front.
self.tighten_jobs()

while (
Expand All @@ -113,7 +113,7 @@ def shrink_resource(self):
)

def grow_resource(self):
# Alway move jobs to front.
# Always move jobs to front.
self.tighten_jobs()

# This does not influence the relative order of jobs with self._running_job_idx
Expand Down

0 comments on commit fcc0896

Please sign in to comment.