Skip to content

Commit

Permalink
Reduce job status page refresh rate (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukfor authored Sep 12, 2024
1 parent 79a005f commit b044f49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/html/webapp/components/core/job/detail/detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,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({
Expand Down
2 changes: 1 addition & 1 deletion src/main/html/webapp/components/core/job/list/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b044f49

Please sign in to comment.