Skip to content

Commit

Permalink
add restart option
Browse files Browse the repository at this point in the history
  • Loading branch information
guitavano committed Nov 8, 2023
1 parent b71ce19 commit 6f8cd0f
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 791 deletions.
2 changes: 1 addition & 1 deletion api/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class WorkflowService {
};
return this.backend.execution(execution.id).withinTransaction(
async (executionsDB) => {
await executionsDB.create(execution); // cannot be parallelized
await executionsDB.create(execution, startOptions); // cannot be parallelized
await executionsDB.pending.add({
...newEvent(),
type: "workflow_started",
Expand Down
Loading

0 comments on commit 6f8cd0f

Please sign in to comment.