kitware-resonant / cookiecutter-resonant

Apache License 2.0
11 stars 6 forks source link

Add timeout for gunicorn #190

Closed danlamanna closed 2 years ago

danlamanna commented 2 years ago

See https://devcenter.heroku.com/articles/request-timeout#timeout-behavior for rationale.

In particular, gunicorn throws a generic SystemExit when a timeout occurs from Heroku. I believe this will instead raise something like a WorkerTimeoutError, but I haven't tested it yet.

danlamanna commented 2 years ago

This doesn't appear to work actually, closing for now. Related - https://github.com/getsentry/sentry-python/issues/510.