Skip to content

Commit

Permalink
Feature for next release: reduce refresh frequency for status page 5-…
Browse files Browse the repository at this point in the history
…>20 sec

[ci skip]
  • Loading branch information
abought committed Mar 19, 2024
1 parent c977a60 commit 91a5323
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 @@ -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({
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 91a5323

Please sign in to comment.