From 27e9d27b2bf462da6a36467cf085ea451fc31d5d Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sun, 7 May 2023 14:02:10 +0200 Subject: [PATCH] Fix TaskResult.fetch_results --- gnuviechadmin/taskresults/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnuviechadmin/taskresults/models.py b/gnuviechadmin/taskresults/models.py index a56136d..704a857 100644 --- a/gnuviechadmin/taskresults/models.py +++ b/gnuviechadmin/taskresults/models.py @@ -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