Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinyi-ECNU committed Sep 11, 2024
1 parent 7b867d3 commit 3c6166e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llumnix/llumlet/llumlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def migrate_out(self, dst_instance_name: str, num_requests: int) -> List[str]:
dst_instance_id = dst_instance_name[len("instance_"):]
migrated_request_list = []
continue_migrate = True
while continue_migrate and len(migrated_request_list) < num_requests:
while continue_migrate and (len(migrated_request_list) < num_requests or num_requests == -1):
t0 = time.time()
migrate_out_request = self.migration_scheduler.get_migrate_out_request()
if migrate_out_request is not None:
Expand Down

0 comments on commit 3c6166e

Please sign in to comment.