fix(agent-jobs): add heartbeat cancel and stale recovery
This commit is contained in:
1 parent
cbbb168e7c
commit
470af043fa
5 files changed
+266
-1
No files matched your search
@@ -12,6 +12,12 @@ crons.interval(
|
||||
limit: 10,
|
||||
},
|
||||
);
|
||||
crons.interval(
|
||||
'Recover stale agent jobs',
|
||||
{ minutes: 1 },
|
||||
internal.agentJobs.recoverStaleJobs,
|
||||
{},
|
||||
);
|
||||
/* Example cron jobs
|
||||
crons.cron(
|
||||
// Run at 7:00 AM CST / 8:00 AM CDT
|
||||
|
||||
Reference in new issue
Block a user