mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
wip
This commit is contained in:
parent
2dfa6886b4
commit
124effb552
1 changed files with 3 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue