larry.martell at gmail.com
Tue May 12 15:56:05 UTC 2020
On Tue, May 12, 2020 at 11:33 AM Larry Martell <larry.martell at gmail.com> wrote:
> I have a django app using nginx and uwsgi. There can be cases when a
> request from a user does not come back from the db for 15-20 minutes.
> This is expected as it's calling a stored proc that does a lot and
> this is an internal app. Issue is that after some amount of time I get
> a 504 timeout error - but it's not always the same time - sometimes 10
> minutes, sometimes 15, sometimes 16. My config file has:
> uwsgi_read_timeout 60m;
> uwsgi_send_timeout 60m;
> client_body_timeout 60m;
> Are there any other settings I need to set to avoid the 504?
Also just tried adding these to the global settings:
But no joy.
More information about the nginx