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

Fix parallel fetching of the vaccin times #5

Open
PierreMesure opened this issue May 26, 2021 · 1 comment
Open

Fix parallel fetching of the vaccin times #5

PierreMesure opened this issue May 26, 2021 · 1 comment

Comments

@PierreMesure
Copy link
Member

Problem

I implemented my scripts so I could split fetching the times by region. The goal was to run them in parallel.

However, that trigger race conditions when it comes to pushing the data on Github. I tried to activate autorebase and autostash but it seems like there are still too many pushes at the same time and it triggers an error in some cases.

Suggested solution

  • Implement a simple pull and retry after a few seconds if the push fails?
  • Make the processes aware of each other in any way? I'm not sure how that could work, I'm no Github Actions pro.
@PierreMesure
Copy link
Member Author

This is almost completely implemented but I haven't activated it yet to avoid putting a more intense burden on the infrastructure of MittVaccin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant