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?
multithreading - Can you spawn a regular thread in an eventlet green thread? - Stack Overflow
与本文相关的文章
评论列表(0)
- 暂无评论