Reputation: 4687
What is the best way to implement getting result in short running celery task (3-7 seconds) ?
For now i use this method below.
task_id
task_id
via AjaxUPDATE: question should be closed at it has no difference between getting result from long running task .
Upvotes: 0
Views: 217
Reputation: 82078
As a general rule (with all background tasks, not just Celery/Django) that's actually your best bet. The same pattern emerges
You should check out long polling
Upvotes: 1