FullFact / health-misinfo-shared

Raphael health misinformation project, shared by Full Fact and Google
MIT License
0 stars 0 forks source link

fix: increase timeout from 30 seconds (default) to 30 minutes #57

Closed JamesMcMinn closed 2 months ago

JamesMcMinn commented 2 months ago

Fixes #53

It's not 100% clear that this will fix the issue, however in my testing, the request is failing a few ms longer than 30s, and gunicorn has a default timeout of 30s for a request, so at the very least this looks to be part of the issue. I've also increased the various nginx timeouts which tend to default to 60s.


Pull request checklist

andylolz commented 2 months ago

Looks good, but I’m not able to test this locally (this is where a local docker setup would be good!)

If you merge main into this branch, we can test this out in production:

Screenshot 2024-05-17 at 10 35 15
JamesMcMinn commented 2 months ago

Did that. Deployed it. Appears to have fixed the issue: https://raphael.fullfact.org/?q=lbzn5iz8Mbo