Skip to content

Commit

Permalink
fix: Update watchdog delays (#23757)
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk authored Aug 27, 2024
1 parent 00948c0 commit cf3298b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let watchdog = process.env.Z2M_WATCHDOG != undefined;
let watchdogCount = 0;
let unsolicitedStop = false;
// csv in minutes, default: 1min, 5min, 15min, 30min, 60min
let watchdogDelays = [60000, 300000, 900000, 1800000, 3600000];
let watchdogDelays = [2000, 60000, 300000, 900000, 1800000, 3600000];

if (watchdog && process.env.Z2M_WATCHDOG !== 'default') {
if (/^(?:(?:[0-9]*[.])?[0-9]+)+(?:,?(?:[0-9]*[.])?[0-9]+)*$/.test(process.env.Z2M_WATCHDOG)) {
Expand Down

0 comments on commit cf3298b

Please sign in to comment.