Skip to content

Commit

Permalink
adjust comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabecinha84 committed Nov 6, 2023
1 parent b7d9f5c commit 9349eff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions watchdog.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ function between(min, max) {
)
}

let autoUpdate = between(60, 240); // auto update will now be different on each node and checks are defined on watchdog startup between 1 and 4h.
let autoUpdate = between(60, 240); // auto update will now be different on each node and checks are defined between 1 and 4h.
async function job_creator(){

++job_count;

if ( job_count % autoUpdate === 0 ) {
await auto_update();
await auto_update();
}
if ( job_count % 4 === 0 ) {
await flux_check();
Expand Down

0 comments on commit 9349eff

Please sign in to comment.