M
M
Michael Kim2017-02-18 00:41:42
Flask
Michael Kim, 2017-02-18 00:41:42

Why is celery task status always pending?

Mastering celery+flask. It seems that everything is set up, both backend and broker, the result of the task returns normally, but the state is constantly PENDING. Why is that, and how to fix it? I searched on stackoverflow and other sites, the only suggestion is to use the --pool=solo flag when initializing the cellery, but then the meaning of celery is lost, because with --pool=solo all tasks are executed in one thread.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question