rom5031
Buggy deployment since migration to EU West
https://heatpump-backend-production.up.railway.app/ping/ sometimes takes 40ms of runtime (X-Runtime header) sometimes 200ms. It does nothing but a query to the db. And other endpoints behave similarly
24 replies
Unable to add more gunicorn workers on Django project
Fixed by adding os.environ['OPENBLAS_NUM_THREADS'] = '1' on app start (from https://stackoverflow.com/a/57549064), not sure why it works 🤷
5 replies