Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add max attempts back into the Retry Policy #350

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Add max attempts back into the Retry Policy #350

merged 1 commit into from
Dec 19, 2024

Conversation

tomwheeler
Copy link
Collaborator

What was changed

This PR adds max attempts back into the Retry Policy, which had been removed by PR #309.

Why?

The code published prior to today was invalid. It attempted to set the max attempts for an Activity outside the Retry Policy, so the code wouldn't actually even run. PR #309 addressed that through a workaround, which removed the invalid line of code.

This PR fixes the original problem by moving that code to where it should have originally been.

Checklist

  1. Closes EDU-3716

  2. How was this tested:

I ran the example

  1. Any docs updates needed?

No

@tomwheeler tomwheeler requested a review from a team as a code owner December 19, 2024 20:42
Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
temporal-learning ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 8:42pm

@tomwheeler tomwheeler merged commit 1e393be into main Dec 19, 2024
4 checks passed
@tomwheeler tomwheeler deleted the edu-3716 branch December 19, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants