-
Notifications
You must be signed in to change notification settings - Fork 877
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify incoming batch query to select only running workflows for cert…
…ain batch operations (#7062) ## What changed? <!-- Describe what has changed in this PR --> Add "Status='Running'" to the query for certain batch operation types. Note - if query is empty or already contains 'Status' cause - it will not be added. ## Why? <!-- Tell your future self why have you made these changes --> There is no need to run those operations on not-running workflows, but omitting this cause can significantly increase run time. ## How did you test it? <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> add unit test ## Potential risks N/A ## Documentation <!-- Have you made sure this change doesn't falsify anything currently stated in `docs/`? If significant new behavior is added, have you described that in `docs/`? --> May be... ## Is hotfix candidate? <!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) --> No
- Loading branch information
1 parent
1b4c7f4
commit 66aa23b
Showing
2 changed files
with
85 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters