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

Remove unnecesary retrying on creating events #16954

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eduardoj
Copy link
Member

@eduardoj eduardoj commented Oct 15, 2024

Also unifies the way database errors are reported. Fixes #16953.

This PR is the first of a group of pull requests:

  1. Remove unnecesary retrying on creating events
  2. Remove unnecesary retrying on updates of packages' issues  #16956
  3. Remove unnecesary retrying on updating a package #16957

@github-actions github-actions bot added the Frontend Things related to the OBS RoR app label Oct 15, 2024
@eduardoj eduardoj changed the title Remove unnecesary retrying after receiving database exceptions Remove unnecesary retrying on creating events Oct 15, 2024
@eduardoj eduardoj marked this pull request as draft October 15, 2024 14:09
If saving an event results in an ActiveRecord::StatementInvalid
exception, just retrying to save that event 10 times doesn't make a
difference.

Also, don't rescue from StandardError exceptions to handle them exactly
as we do in the rest of the application.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Things related to the OBS RoR app
Projects
None yet
1 participant