From dcd3dc97446eb7069708b8945679a3f8f57c6d43 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 28 Oct 2020 18:53:39 +0100 Subject: [PATCH] lib: ensure tasks don't expire --- passbook/lib/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passbook/lib/tasks.py b/passbook/lib/tasks.py index e00d3cb3d..ff7fbab7c 100644 --- a/passbook/lib/tasks.py +++ b/passbook/lib/tasks.py @@ -72,7 +72,7 @@ class TaskInfo: if self.result.uid: key += f"_{self.result.uid}" self.task_name += f"_{self.result.uid}" - cache.set(key, self, timeout=6 * 60 * 60) + cache.set(key, self, timeout=13 * 60 * 60) class MonitoredTask(Task):