From 124effb55211fa1fbbfc0319f98f99a442cf065e Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sun, 22 Sep 2024 16:01:45 +0800 Subject: [PATCH] wip --- server/jobs/clear-old-data.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/jobs/clear-old-data.js b/server/jobs/clear-old-data.js index d74f34845..5bbd48a92 100644 --- a/server/jobs/clear-old-data.js +++ b/server/jobs/clear-old-data.js @@ -20,6 +20,9 @@ const clearOldData = async () => { * In the heartbeat table: * - important rows: keep according to the setting (keepDataPeriodDays) (default 180 days) * - not important rows: keep 2 days + * + * stat_* tables: + * - keep according to the setting (keepDataPeriodDays) (default 180 days) */ let period = await setting("keepDataPeriodDays");