Koed00 / django-q

A multiprocessing distributed task queue for Django
https://django-q.readthedocs.org
MIT License
1.84k stars 290 forks source link

Schedule coroutines ? #636

Open MrVhek opened 2 years ago

MrVhek commented 2 years ago

I am trying to add coroutines in the scheduler but I get:

File "Python\Python39\Lib\multiprocessing\queues.py", line 245, in _feed obj = _ForkingPickler.dumps(obj) File "Python\Python39\Lib\multiprocessing\reduction.py", line 51, in dumps cls(buf, protocol).dump(obj) TypeError: cannot pickle 'coroutine' object

Does django q can manage coroutines ?

Emilianocm23 commented 2 years ago

Hi, same question here