-
-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I enable threads? #71
Comments
Overwriting ENTRYPOINT with something like
But I'm open to other suggestions/recommendations. |
looks like this is closed but I just encountered this issue (11.29.18). I added: |
Sorry for the delay! I was busy building FastAPI. As this seems to be a popular request, I added a section about it in the docs. With the same technique @jhelion is using. https://github.com/tiangolo/uwsgi-nginx-flask-docker#custom-uwsgiini-configurations You can add a file to [uwsgi]
module = main
callable = app
enable-threads = true
I'm glad to hear that! 😄 🎉 |
changed uwsgi config to fix it, for reference: tiangolo/uwsgi-nginx-flask-docker#71
the above was not enough for me. I also had to add Thanks to this thread |
The following line is output on start:
*** Python threads support is disabled. You can enable it with --enable-threads ***
How can I do that using the tiangolo/uwsgi-nginx-flask:python3.6 image?
The text was updated successfully, but these errors were encountered: