admin管理员组

文章数量:1415099

We have a python, django, Gunicorn setup with eventlet workers. I have a long running task that causes a HTTP request timeout and I want to offload it to a regular python thread (threading.Thread). I can't use a celery or any other task queue setup. Is it safe to spawn a regular thread within an eventlet green thread?

本文标签: multithreadingCan you spawn a regular thread in an eventlet green threadStack Overflow