I\'ve been trying to follow the Celery First Steps With Celery and Next Steps guides. My setup is Windows 7 64-bit, Anaconda Python 2.7 (32-bit), Installed Erlang 32-bit bi
You must add track_started=True
. Well, it's hard to know this option.
The default value is False, so you will always get PENDING when the task is not finished. Besides, you must config wrong on backend or broker. Plz check them again.
@app.task(bind=True, track_started=True)
def add(x, y):
return x + y