On Tue, May 12, 2020 at 11:33 AM Larry Martell <[email protected]> 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:

proxy_connect_timeout   60m;
proxy_send_timeout      60m;
proxy_read_timeout      60m;

But no joy.
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to