最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

multithreading - Can you spawn a regular thread in an eventlet green thread? - Stack Overflow

programmeradmin0浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论