Welcome! Log In Create A New Profile

Advanced

threads don't run after request returns?

Larry Martell
April 07, 2017 02:56PM
I have a django app that I serve with nginx. Some requests that the
app receives start python threads that are not complete when the
request returns a response to the client. When I run with the django
devel server the threads continue to run to completion. But when I run
with nginx it seems that the threads terminate when the response is
sent. Would that be expected or is there something else going on? If
that is expected, is there a way I can get around this?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

threads don't run after request returns?

Larry Martell April 07, 2017 02:56PM

Re: threads don't run after request returns?

Larry Martell April 07, 2017 03:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 155
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready