lib: ensure tasks don't expire

This commit is contained in:
Jens Langhammer 2020-10-28 18:53:39 +01:00
parent d6afdc575e
commit dcd3dc9744
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class TaskInfo:
if self.result.uid: if self.result.uid:
key += f"_{self.result.uid}" key += f"_{self.result.uid}"
self.task_name += 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): class MonitoredTask(Task):