Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem using celery #62

Open
sebastiendarocha opened this issue Jun 25, 2020 · 1 comment
Open

Problem using celery #62

sebastiendarocha opened this issue Jun 25, 2020 · 1 comment

Comments

@sebastiendarocha
Copy link

Hello,

I'm using timeout_decorator with celery, and it fails displaying this error:

daemonic processes are not allowed to have children

According to this https://stackoverflow.com/a/54917626/6684009 it's related to a limitation in the multiprocess. Celery has forked this library under the name "billiard" which doesn't have this limitation.

sebastiendarocha added a commit to neogeo-technologies/timeout-decorator that referenced this issue Jun 25, 2020
@travischambers
Copy link

travischambers commented Jan 10, 2024

This is very late, but if i start my celery worker with -P threads and add use_signals=False to my timeout decorator, i was able to get this to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants