Skip to content

Commit 75cdcf0

Browse files
authored
Set min-available runners to 0 (#350)
Considering there is now a scale-up cron job that periodically checks Clickhouse if there are jobs that have been queued for a long time and automatically scales up new runners. We should be able to set min-available to 0 again. The cron checks this Clickhouse URL https://hud.pytorch.org/api/clickhouse/queued_jobs_aggregate?parameters=%5B%5D Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
1 parent 267bccb commit 75cdcf0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ali/aws/391835788720/us-east-1/autoscaler-lambda.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ module "autoscaler-lambda" {
6767
scale_config_org = "pytorch"
6868
scale_config_repo = "test-infra"
6969
scale_config_repo_path = ".github/lf-scale-config.yml"
70-
min_available_runners = 2
70+
min_available_runners = 0
7171
retry_scale_up_chron_hud_query_url = "https://hud.pytorch.org/api/clickhouse/queued_jobs_aggregate?parameters=%5B%5D"
7272

7373
encrypt_secrets = false

0 commit comments

Comments
 (0)