Closed danlamanna closed 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.
SystemExit
WorkerTimeoutError
This doesn't appear to work actually, closing for now. Related - https://github.com/getsentry/sentry-python/issues/510.
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 aWorkerTimeoutError
, but I haven't tested it yet.