Open jedie opened 6 years ago
it is still happening wit new release?
I don't known... I switched to huey ;)
@auvipy I can confirm this is happening with newly created test project, python 3.7.7, celery==4.4.6 and pytest==5.4.3
Writing the sleep_time
argument to a file in the beginning of the task shows the task is never called.
Hi there, I managed to make it work with pickle
, by simply allowing the pickle
content type.
I feel that the documentation can be clearer on this.
app.conf.update(
task_serializer="pickle",
accept_content=["pickle", "json"],
result_serializer="pickle",
)
@thedrow in my case, adding the line accept_content=["pickle", "json"],
is key to making it work
Thanks!
apply_async() with serializer="pickle" hang, but with serializer="json" it worked.
Simple example:
Test code:
report:
Maybe related to: https://github.com/celery/celery/issues/5013 ?