user2268997
user2268997

Reputation: 1391

Can you spawn a regular thread in an eventlet green thread?

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?

Upvotes: 0

Views: 21

Answers (0)

Related Questions