here is my code:
my task
from celery.decorators import task
@task()
def add(x, y):
return x + y
using my tasks
from core.tasks import add
results = []
for i in range(100):
results.append(add.delay(i, i))
problem 1
after a few seconds I perform the following:
for result in results:
print result.result
prints this:
(the values are not returned in what looks like a pattern)
None
None
None
None
8
None
None
None
None
18
None
None
None
None
28
None
None
None
None
38
...
Second clean OS install+setup:
everything is working as expected, still not sure what happened here...
Tasks are also randomly missing within the Django admin interface...
Anybody know what is going on? :|