Skip to content

Commit a83d521

Browse files
committed
the fix
1 parent 656c83d commit a83d521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/autoscaling/src/simcore_service_autoscaling/modules/cluster_scaling/_warm_buffer_machines_pool_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ async def _add_remove_buffer_instances(
314314
subnet_id=app_settings.AUTOSCALING_EC2_INSTANCES.EC2_INSTANCES_SUBNET_ID,
315315
iam_instance_profile=app_settings.AUTOSCALING_EC2_INSTANCES.EC2_INSTANCES_ATTACHED_IAM_PROFILE,
316316
),
317-
min_number_of_instances=num_to_start,
317+
min_number_of_instances=1, # NOTE: we want at least 1
318318
number_of_instances=num_to_start,
319319
max_total_number_of_instances=app_settings.AUTOSCALING_EC2_INSTANCES.EC2_INSTANCES_MAX_INSTANCES,
320320
)

0 commit comments

Comments
 (0)