From 11784d985ca3ac57aef488535c6d23345dcac1d5 Mon Sep 17 00:00:00 2001 From: Andy Boughton Date: Tue, 19 Mar 2024 11:15:10 -0400 Subject: [PATCH] Reduce status refresh time 5->20 sec --- src/main/html/webapp/components/core/job/detail/detail.js | 2 +- src/main/html/webapp/components/core/job/list/list.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/html/webapp/components/core/job/detail/detail.js b/src/main/html/webapp/components/core/job/detail/detail.js index 147973c7..1722a68e 100644 --- a/src/main/html/webapp/components/core/job/detail/detail.js +++ b/src/main/html/webapp/components/core/job/detail/detail.js @@ -186,7 +186,7 @@ export default Control.extend({ if (JobRefresher.needsUpdate(currentJob) && that.active) { setTimeout(function() { that.refresh(); - }, 5000); + }, 20000); } else { // updates details (results, startTime, endTime, ...) JobDetails.findOne({ diff --git a/src/main/html/webapp/components/core/job/list/list.js b/src/main/html/webapp/components/core/job/list/list.js index 63f886bf..388ad22a 100644 --- a/src/main/html/webapp/components/core/job/list/list.js +++ b/src/main/html/webapp/components/core/job/list/list.js @@ -135,7 +135,7 @@ var JobRefresher = Control({ if (JobRefresher.needsUpdate(currentJob) && that.active) { setTimeout(function() { that.refresh(); - }, 5000); + }, 20000); } }, function(response) { new ErrorPage(that.element, response);