From 33971266f002310d34cd2ef90007636b41f2c124 Mon Sep 17 00:00:00 2001 From: Jayanta Kashyap <88306913+JKashyap96@users.noreply.github.com> Date: Wed, 18 Oct 2023 14:09:30 +0530 Subject: [PATCH 1/3] Update workflow-collector.yml updated default timeout parameter for workflow-collector job to 3 minutes --- src/jobs/workflow-collector.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jobs/workflow-collector.yml b/src/jobs/workflow-collector.yml index 9669113..d86b25e 100644 --- a/src/jobs/workflow-collector.yml +++ b/src/jobs/workflow-collector.yml @@ -7,7 +7,7 @@ parameters: description: A valid JSON object to append to the workflow data. type: string timeout-seconds: - default: 600 + default: 180 description: | Defauls to 600 seconds (10 minutes). An upper bound in seconds after which the job will end. This is a mitigation to the potential infinite monitoring loop if something weird on CircleCI's end happens. Though unlikely to happen - this catch all From bce12ba4832eef21be4277aa072b420d0e985977 Mon Sep 17 00:00:00 2001 From: Jayanta Kashyap <88306913+JKashyap96@users.noreply.github.com> Date: Wed, 18 Oct 2023 14:23:59 +0530 Subject: [PATCH 2/3] Update workflow-collector.yml updated description for default timeout to be 3 minutes --- src/jobs/workflow-collector.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jobs/workflow-collector.yml b/src/jobs/workflow-collector.yml index d86b25e..6afa6eb 100644 --- a/src/jobs/workflow-collector.yml +++ b/src/jobs/workflow-collector.yml @@ -9,7 +9,7 @@ parameters: timeout-seconds: default: 180 description: | - Defauls to 600 seconds (10 minutes). An upper bound in seconds after which the job will end. This is a mitigation to the potential infinite + Defauls to 180 seconds (3 minutes). An upper bound in seconds after which the job will end. This is a mitigation to the potential infinite monitoring loop if something weird on CircleCI's end happens. Though unlikely to happen - this catch all will ensure unnecessary credits aren't consumed. type: integer From f1908dc413aa3c880fd927c946ecd317aba8ad6e Mon Sep 17 00:00:00 2001 From: Jayanta Kashyap <88306913+JKashyap96@users.noreply.github.com> Date: Wed, 18 Oct 2023 14:24:46 +0530 Subject: [PATCH 3/3] Update workflow-collector.yml updated example for default timeout seconds to be for 3 minutes --- src/examples/workflow-collector.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/examples/workflow-collector.yml b/src/examples/workflow-collector.yml index 9338560..9d2dafe 100644 --- a/src/examples/workflow-collector.yml +++ b/src/examples/workflow-collector.yml @@ -31,7 +31,7 @@ usage: build-test-and-deploy: jobs: - sumologic/workflow-collector: - timeout-seconds: 600 # You can change or omit this, defaults to 600. + timeout-seconds: 180 # You can change or omit this, defaults to 180. custom-data: | {"foo": "bar", "$SOME_KEY_VAR": "$SOME_VALUE_VAR"} - build