Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

getExecutionDocuments shouldn't attempt to resume waiting executions that have failed #189

Open
aclavio opened this issue Oct 7, 2021 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@aclavio
Copy link
Contributor

aclavio commented Oct 7, 2021

If an execution fails in a "wait" state, then it retains it's "currentlyWaiting" data, causing the "getExecutionDocuments" function to pick it up. This results in many noop attempts to process that failed document wasting time.

The code in "getExecutionDocuments" should only look to resume executions in the "waiting" status.

@aclavio aclavio added the bug Something isn't working label Oct 7, 2021
@aclavio aclavio added this to the 1.3.0 milestone Oct 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant