Updating the database and plots takes a long time. Make Flask run these in the background, e.g. with Redis Queue as used in the spatial inequality project.
I think this also leads to build errors sometimes, as Azure has some timeout limit on how long it takes the container to start up.
Updating the database and plots takes a long time. Make Flask run these in the background, e.g. with Redis Queue as used in the spatial inequality project.
I think this also leads to build errors sometimes, as Azure has some timeout limit on how long it takes the container to start up.