python-thread / thread

A Python threading library extension ⭐️ Star to support our work!

Home Page:https://thread.ngjx.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to disable graceful exiting

caffeine-addictt opened this issue · comments

Feature Request

Your issue may already be reported!
Please check out our active issues before creating one.

Is Your Feature Request Related to an Issue?

When used in a Flask application ran with threading (i.e. with gunicorn), the graceful exiting kills the application thread workers. This could cause some unintended behavior like the WSGI server not shutting down properly.

Describe the Solution You'd Like

A way to disable graceful exit or a way to gracefully exit without affecting WSGI worker threads