Skip to content

Commit dd937e6

Browse files
committed
Bug Fix: Upon job recovery after restart, unset job.remote flag in case job is dead (so it can abort after going stale). Fixes #240.
1 parent 58be32f commit dd937e6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/multi.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,10 @@ class Multi {
743743
if (job.state == 'active') {
744744
job.updated = Tools.timeNow();
745745
}
746+
747+
// disable remote flag, in case job is dead
748+
// (next job update from xysat will re-enable this)
749+
job.remote = false;
746750
} );
747751
}
748752

0 commit comments

Comments
 (0)