civictechsweden / JagVillHaVaccin

A website to show available times in vaccination centers across Sweden
https://jagvillhavaccin.nu
GNU Affero General Public License v3.0
17 stars 4 forks source link

Fix parallel fetching of the vaccin times #5

Open PierreMesure opened 3 years ago

PierreMesure commented 3 years ago

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

PierreMesure commented 3 years ago

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