From 2a3f87b1885ac16ed2a51768de6fcaa1d63d89f6 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Mon, 27 May 2024 15:04:52 -0400 Subject: [PATCH 1/2] Add failureIssueThreshold and recoveryThreshold to js cron docs --- includes/javascript-crons-upsert.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/includes/javascript-crons-upsert.mdx b/includes/javascript-crons-upsert.mdx index b80a6de181232..4b0c586b63035 100644 --- a/includes/javascript-crons-upsert.mdx +++ b/includes/javascript-crons-upsert.mdx @@ -148,3 +148,15 @@ The amount of time (in minutes) your job is allowed to run before it's considere `timezone`: The `tz` where your job is running. This is usually your server's timezone, (such as `America/Los_Angeles`). See [list of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). Optional. + +`failureIssueThreshold`: + +_requires SDK version `8.6.0` or higher_ + +The number of consecutive failed check-ins it takes before an issue is created. Optional. + +`recoveryThreshold`: + +_requires SDK version `8.6.0` or higher_ + +The number of consecutive OK check-ins it takes before an issue is resolved. Optional. From c287f8540b4e7a3f0638166d78af295a8c35cb9a Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 29 May 2024 13:31:56 -0400 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Liza Mock --- includes/javascript-crons-upsert.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/javascript-crons-upsert.mdx b/includes/javascript-crons-upsert.mdx index 4b0c586b63035..8c3767bb335b9 100644 --- a/includes/javascript-crons-upsert.mdx +++ b/includes/javascript-crons-upsert.mdx @@ -151,12 +151,12 @@ The `tz` where your job is running. This is usually your server's timezone, (suc `failureIssueThreshold`: -_requires SDK version `8.6.0` or higher_ +_requires SDK version `8.7.0` or higher_ -The number of consecutive failed check-ins it takes before an issue is created. Optional. +The number of consecutive failed check-ins required before an issue can be created. Optional. `recoveryThreshold`: -_requires SDK version `8.6.0` or higher_ +_requires SDK version `8.7.0` or higher_ -The number of consecutive OK check-ins it takes before an issue is resolved. Optional. +The number of consecutive successful check-ins required for an issue to be considered resolved. Optional.