threading.Thread.start() throws AttributeError while using gevent worker class on python-3.9.16 and Freebsd 11.4 release #1980
Labels
Platform: Unsupported environment
An environment not tested by gevent developers. Work may or may not be possible.
Type: Question
User support and/or waiting for responses
Description:
We have a Flask App which uses threading.Thread class to spawn threads for Async API requests.
Running this Flask App(Flask-1.1.2) using Gunicorn(gunicorn-20.0.4) and Gevent worker class throws error while starting threads. Need help to understand what is going wrong here or if I am missing something.
Stack trace from console when I invoke curl -k http://localhost:8000/count
Below is the way I am running flask app using gunicorn by specifying gevent worker class:
Code snip for sample flask app with which I can reproduce the issue.
The text was updated successfully, but these errors were encountered: