Skip to content

Commit

Permalink
timeout hours
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jul 28, 2021
1 parent b46e083 commit 74b89d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/cml-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ const runLocal = async (opts) => {
new Date().getTime() - new Date(job.date).getTime() >
GH_5_MIN_TIMEOUT
)
shutdown({ ...opts, reason: `timeout:72` }) && clearInterval(watcher);
shutdown({ ...opts, reason: 'timeout:72h' }) &&
clearInterval(watcher);
});
}, 60 * 1000);
}
Expand Down

0 comments on commit 74b89d1

Please sign in to comment.