Unit + wsgi.py + POST handler sample
Valentin V. Bartenev
vbart at nginx.com
Wed Jan 24 12:21:52 UTC 2018
On Monday 22 January 2018 15:12:10 Fedor Potapov wrote:
> Wow, great! Issue was solved in 0.4.
> Are there any personal settings for the timeout on the POST request?
>
[..]
What kind of timeout do you mean? A timeout for application execution
or a timeout for reading request body?
There's an application timeout that you can control using:
/applications/example/limits/timeout
e.g.:
{
"type": "python 3",
"workers": 2,
"module": "wsgi",
"path": "/www/example",
"limits": {
"timeout": 10
}
}
There's also a 5 seconds timeout between body read operations and
no way to change it from the configuration API.
An option to specify this timeout will be added in the future versions.
wbr, Valentin V. Bartenev
More information about the unit
mailing list