Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[temporalio#1727] Use default RetryOptions for LocalActivities when n…
…ot set or setMaximumAttempts(0) Setting setMaximumAttempts=0 (or not setting any value, default = 0) for local activities should make the activity retry forever. This is currently broken because the logic treats both no policy set and a policy with all default values (including MaxiumAttempts = 0) as abort conditional. What should happen (at least according the doc and to align with normal activities) is that no policy set should be processed according to the default values of the retry policy, which includes unlimited retries when the MaxiumAttempts = 0. Fixes temporalio#1727 Signed-off-by: Greg Haskins <[email protected]>
- Loading branch information