Skip to content

Commit

Permalink
Update servicecheck.ts
Browse files Browse the repository at this point in the history
Run checks every 5 minutes
  • Loading branch information
kenny-io authored Aug 20, 2024
1 parent 5a679b6 commit b5a015f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/services/servicecheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ class HealthChecker {
}
startPeriodicChecks() {
this.runChecksWithTimeout();

setInterval(() => this.runChecksWithTimeout(), 120000); // Run checks every 5 minutes
setInterval(() => this.runChecksWithTimeout(), 300000); // Run checks every 5 minutes
}
}

Expand Down

0 comments on commit b5a015f

Please sign in to comment.