From f221f4c332ece8b0b4d424432475d6f7f7f34ac4 Mon Sep 17 00:00:00 2001 From: Marcos Prieto Date: Wed, 11 Dec 2024 15:54:24 +0100 Subject: [PATCH] Schedule deletion of old EventData rows in LMS --- h_periodic/lms_beat.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/h_periodic/lms_beat.py b/h_periodic/lms_beat.py index bd9be71..954d2dd 100644 --- a/h_periodic/lms_beat.py +++ b/h_periodic/lms_beat.py @@ -50,5 +50,9 @@ "options": {"expires": 1800}, "schedule": timedelta(hours=1), }, + "purge_old_launch_data": { + "task": "lms.tasks.event.purge_launch_data", + "schedule": timedelta(hours=1), + }, }, )