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

Handle endpoint duration on payload error #35740

Merged
merged 2 commits into from
Feb 10, 2025
Merged

Conversation

kaapstorm
Copy link
Contributor

Technical Summary

If an error occurs while getting a payload, then it will not be sent, and there won't be an endpoint timer.

This small change handles that scenario gracefully.

Safety Assurance

Safety story

Tested locally.

Automated test coverage

Test included.

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@kaapstorm kaapstorm added the product/invisible Change has no end-user visible impact label Feb 5, 2025
corehq/motech/repeaters/tasks.py Outdated Show resolved Hide resolved
Co-authored-by: Daniel Miller <[email protected]>
@kaapstorm kaapstorm enabled auto-merge February 10, 2025 19:18
@kaapstorm kaapstorm merged commit 271c680 into master Feb 10, 2025
14 checks passed
@kaapstorm kaapstorm deleted the nh/handle_payload_err branch February 10, 2025 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product/invisible Change has no end-user visible impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants