Skip to content

Commit a666357

Browse files
committed
sonar + time fix
1 parent 7f7bb75 commit a666357

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,8 +845,8 @@ async def _launch_instances(
845845
new_pending_instances.append(r)
846846

847847
log_message = (
848-
f"{sum(n for n in capped_needed_machines.values())} new machines launched"
849-
", it might take up to 3 minutes to start, Please wait..."
848+
f"{sum(capped_needed_machines.values())} new machines launched"
849+
f", it might take up to {timedelta_as_minute_second(app_settings.AUTOSCALING_EC2_INSTANCES.EC2_INSTANCES_MAX_START_TIME)} minutes to start, Please wait..."
850850
)
851851
await post_tasks_log_message(
852852
app, tasks=tasks, message=log_message, level=logging.INFO

0 commit comments

Comments
 (0)