-
Notifications
You must be signed in to change notification settings - Fork 766
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable eager activities for incompatible versioned activities (#5030)
Only enable eager activity start if dynamic config enables it and workflow doesn't use versioning. If a workflow _uses_ versioning, only allow eager activities which intend to use a compatible version since a worker is obviously compatible with itself and we are okay dispatching an eager task knowning that there may be a newer "default" compatible version. Note that if `UseCompatibleVersion` is false, it implies that the activity should run on the "default" version for the task queue. --------- Co-authored-by: David Reiss <dnr@dnr.im>
- Loading branch information
1 parent
cd14e15
commit 19ba0ce
Showing
2 changed files
with
84 additions
and
4 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