Skip to content
Snippets Groups Projects
Commit 33795b8e authored by Erik Reid's avatar Erik Reid
Browse files

use AsyncStatus.id instead of input param

parent 46323909
No related branches found
No related tags found
No related merge requests found
......@@ -409,7 +409,7 @@ def launch_refresh_cache_all(config):
def check_task_status(task_id):
r = AsyncResult(task_id, app=app)
result = {
'id': task_id,
'id': r.id,
'status': r.status,
'exception': r.status in states.EXCEPTION_STATES,
'ready': r.status in states.READY_STATES,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment