You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…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.
Fixestemporalio#1727
Signed-off-by: Greg Haskins <[email protected]>
Expected Behavior
setting setMaximumAttempts=0 (or not setting any value, default = 0) for local activities should make the activity retry forever.
I expect the same behavior as "normal" activities, where MaximumAttempts=0 implies retry forever.
Actual Behavior
when MaximumAttempts is set to 0, local activities do not retry
Steps to Reproduce the Problem
HelloLocalActivity.java.zip
Specifications
The text was updated successfully, but these errors were encountered: