From 4227e755619ede145a8289663f2e6ce43a13a99a Mon Sep 17 00:00:00 2001 From: Matthew Nickson Date: Wed, 8 Jun 2022 20:33:16 +0100 Subject: [PATCH] Added Remove minimum interval value #1645 #1645 has been added by changing the minimum value from 20 to 1. A warning has been added that shows when the user enters a value less than 20 to state that performance issues may be enountered. Signed-off-by: Matthew Nickson --- src/languages/en.js | 1 + src/pages/EditMonitor.vue | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/languages/en.js b/src/languages/en.js index aa6737dd8dd..f05ce87c1dc 100644 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -3,6 +3,7 @@ export default { checkEverySecond: "Check every {0} seconds", retryCheckEverySecond: "Retry every {0} seconds", retriesDescription: "Maximum retries before the service is marked as down and a notification is sent", + minimumIntervalWarning: "Warning: Intervals below 20 seconds may result in poor performance.", ignoreTLSError: "Ignore TLS/SSL error for HTTPS websites", upsideDownModeDescription: "Flip the status upside down. If the service is reachable, it is DOWN.", maxRedirectDescription: "Maximum number of redirects to follow. Set to 0 to disable redirects.", diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index 1cb3684be8e..204043fdfb6 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -160,7 +160,10 @@
- + +
+ {{ $t("minimumIntervalWarning") }} +
@@ -176,7 +179,10 @@ {{ $t("Heartbeat Retry Interval") }} ({{ $t("retryCheckEverySecond", [ monitor.retryInterval ]) }}) - + +
+ {{ $t("minimumIntervalWarning") }} +

{{ $t("Advanced") }}