Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
flipswitchingmonkey committed Jan 11, 2023
1 parent 1c19088 commit 1d3af14
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/cli/src/eventbus/MessageEventBus/MessageEventBus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,6 @@ class MessageEventBus extends EventEmitter {
if (unsentAndUnfinished.unfinishedExecutions.size > 0) {
for (const executionId of unsentAndUnfinished.unfinishedExecutions) {
LoggerProxy.debug(`Found unfinished execution ${executionId} in event log(s)`);
// TODO: commented out for now, until it has been decided how to handle unfinished executions
// const executionEntry = await Db.collections.Execution.findOne(executionId);
// if (!executionEntry?.stoppedAt) {
// LoggerProxy.debug(`Found unfinished execution ${executionId}, marking them as failed`);
// await Db.collections.Execution.update(executionId, {
// finished: false,
// stoppedAt: new Date(),
// });
// } else {
// LoggerProxy.debug(
// `Found unfinished execution ${executionId}, but it was already marked as failed`,
// );
// }
}
}

Expand Down

0 comments on commit 1d3af14

Please sign in to comment.