fiqus / coophub

Cooperatives repos over the world! 🌈🌎
https://coophub.io
MIT License
57 stars 28 forks source link

Improve cachex warmer #13

Closed diegomanuel closed 4 years ago

diegomanuel commented 4 years ago

The idea is to have the data available as soon as it comes from github API for each org.

Currently, the data is available when ALL the orgs and ALL their repos+languages were fetched. That process can take a lot when starting the server!

diegomanuel commented 4 years ago

Did some refactor and now the latest saved cache dump data is loaded as soon as the server starts. Then, it starts getting data from github API and it doesn't matter how long will take to complete.

The next step, as this issue description says, would be to have the data available as soon as it comes from github API for each org.. but that's not really needed now.. so I will mark this issue as done!