This commit is contained in:
Louis Lam 2024-09-22 16:01:45 +08:00
parent 2dfa6886b4
commit 124effb552

View file

@ -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");