Reputation: 15615
In Flask + uWSGI + nginx environment, I would like to set maximums request time. For example, if a request is taking more than 8 seconds, just abort the request.
Upvotes: 0
Views: 1325
Reputation: 26080
Look at uwsgi timeouts: harakiri, socket-timeout, http-timeout.
uwsgi
harakiri
socket-timeout
http-timeout
Upvotes: 1