Fix TaskResult.fetch_results
This commit is contained in:
parent
3b04595c7a
commit
27e9d27b2b
1 changed files with 1 additions and 1 deletions
|
@ -48,6 +48,6 @@ class TaskResult(TimeStampedModel):
|
|||
ar = app.AsyncResult(self.task_id)
|
||||
self.state = ar.state
|
||||
if ar.ready():
|
||||
res = ar.get()
|
||||
res = ar.get(propagate=False, timeout=5)
|
||||
self.result = str(res)
|
||||
self.finished = True
|
||||
|
|
Loading…
Reference in a new issue