memory result backend hanging on get() #1276

bcajes opened this Issue Apr 3, 2013 · 1 comment

2 participants


Using the following settings and calling my_task_results.get() hangs:


Using other backends seem to work as expected. No errors reported. In fact, celery monitor shows all tasks were successful.

Celery member

Not sure how this would work exactly, the worker does not have access to the memory of the parent...

If you want to use the in-memory cache backend you would have to write the result before
you can retrieve it:

>>> result = add.delay(2, 2)
>>> add.backend.mark_as_done(, 4)
>>> result.get()
@ask ask closed this Apr 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment