sean-b765 / covid-api

Find current or historical COVID-19 data. Uses JHU and OWID GitHub repositories as source.
0 stars 0 forks source link

Requests take too long when performing DB update #1

Closed sean-b765 closed 2 years ago

sean-b765 commented 2 years ago

One way to fix this would be to use worker threads for DB update. This will allow requests to be fulfilled while the newest data is fetched. The request will not contain up-to-date data, though this is better then having an unresponsive service.