Skip to content

Commit 5339eac

Browse files
committed
fix
1 parent 3ed606a commit 5339eac

File tree

1 file changed

+1
-0
lines changed
  • services/autoscaling/src/simcore_service_autoscaling

1 file changed

+1
-0
lines changed

services/autoscaling/src/simcore_service_autoscaling/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def __post_init__(self) -> None:
3939

4040
def has_assigned_tasks(self) -> bool:
4141
# NOTE: This function is needed because assigned_tasks can be empty while still have used resources (this is not nice and should be changed)
42+
# see https://github.com/ITISFoundation/osparc-simcore/issues/8559
4243
return bool(self.available_resources < self.ec2_instance.resources)
4344

4445

0 commit comments

Comments
 (0)