From 8f936359fc84959b1f8f957ae70f777f2cdbeb88 Mon Sep 17 00:00:00 2001 From: Alexis Lucattini Date: Mon, 2 Dec 2024 06:51:53 +1100 Subject: [PATCH] Max results can't be less than 100 --- .../ecs_task_rate_limiters_sfn_template.asl.json | 4 ++-- .../ecs_task_rate_limiters_sfn_template.asl.json | 4 ++-- .../step_functions_templates/set_compression_outputs.asl.json | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/workload/components/gzip-raw-md5sum-fq-pair-sfn/step_functions_templates/ecs_task_rate_limiters_sfn_template.asl.json b/lib/workload/components/gzip-raw-md5sum-fq-pair-sfn/step_functions_templates/ecs_task_rate_limiters_sfn_template.asl.json index dc4ed9a32..9e0b22bdb 100644 --- a/lib/workload/components/gzip-raw-md5sum-fq-pair-sfn/step_functions_templates/ecs_task_rate_limiters_sfn_template.asl.json +++ b/lib/workload/components/gzip-raw-md5sum-fq-pair-sfn/step_functions_templates/ecs_task_rate_limiters_sfn_template.asl.json @@ -6,7 +6,7 @@ "Type": "Task", "Parameters": { "Cluster": "${__cluster_arn__}", - "MaxResults": 401 + "MaxResults": 100 }, "Resource": "arn:aws:states:::aws-sdk:ecs:listTasks", "ResultSelector": { @@ -20,7 +20,7 @@ "Choices": [ { "Variable": "$.get_num_tasks_step.num_tasks_running", - "NumericGreaterThan": 400, + "NumericGreaterThan": 99, "Next": "Sleep a minute", "Comment": "More than 400 tasks running" } diff --git a/lib/workload/components/ora-file-decompression-fq-pair-sfn/step_functions_templates/ecs_task_rate_limiters_sfn_template.asl.json b/lib/workload/components/ora-file-decompression-fq-pair-sfn/step_functions_templates/ecs_task_rate_limiters_sfn_template.asl.json index dc4ed9a32..9e0b22bdb 100644 --- a/lib/workload/components/ora-file-decompression-fq-pair-sfn/step_functions_templates/ecs_task_rate_limiters_sfn_template.asl.json +++ b/lib/workload/components/ora-file-decompression-fq-pair-sfn/step_functions_templates/ecs_task_rate_limiters_sfn_template.asl.json @@ -6,7 +6,7 @@ "Type": "Task", "Parameters": { "Cluster": "${__cluster_arn__}", - "MaxResults": 401 + "MaxResults": 100 }, "Resource": "arn:aws:states:::aws-sdk:ecs:listTasks", "ResultSelector": { @@ -20,7 +20,7 @@ "Choices": [ { "Variable": "$.get_num_tasks_step.num_tasks_running", - "NumericGreaterThan": 400, + "NumericGreaterThan": 99, "Next": "Sleep a minute", "Comment": "More than 400 tasks running" } diff --git a/lib/workload/stateless/stacks/ora-compression-manager/step_functions_templates/set_compression_outputs.asl.json b/lib/workload/stateless/stacks/ora-compression-manager/step_functions_templates/set_compression_outputs.asl.json index d7dfef23c..d95fe0391 100644 --- a/lib/workload/stateless/stacks/ora-compression-manager/step_functions_templates/set_compression_outputs.asl.json +++ b/lib/workload/stateless/stacks/ora-compression-manager/step_functions_templates/set_compression_outputs.asl.json @@ -90,6 +90,7 @@ "instrument_run_folder_uri.$": "$.analysis_outputs_step.output_json.instrumentRunOraOutputUri" } }, + "ResultPath": null, "End": true } }