taskiq-python / taskiq

Distributed task queue with full async support
MIT License
866 stars 52 forks source link

AssertionError: daemonic processes are not allowed to have children #335

Open zhavir opened 5 months ago

zhavir commented 5 months ago

hello guys, recently I came up with this exception. Seems like the problem is something already known on the internet, at least for the Celery world. The way to solve it (I mean the straightforward way) seems to be to use Billiard. Did you already face this kind of issue? what was your solution or workaround?

FYI I've tried Billiard in replacement to multiprocessing. It seems to be working quite well. sometimes it happens that the child's processes are not closed properly, they stay there and start to produce some weird results.