feat: 历史归档按名称默认只保留最近7天

This commit is contained in:
2026-11-09 15:03:28 +08:00
parent f849950c5a
commit 3cd1196010
9 changed files with 219 additions and 1 deletions
+4
View File
@@ -150,6 +150,8 @@ MESSAGES: dict[str, dict[str, str]] = {
"field.table_name": "表名",
"field.keep_outputs": "本地结果保留份数",
"field.keep_runs": "运行记录保留条数",
"field.history_keep_days": "历史数据保留天数",
"field.history_keep_days_hint": "按目录名 YYYY-MM-DD 和文件名中的日期计算,只保留最近这些天,更早的从文件来源删除。0 表示不删除。",
"option.interval": "固定间隔",
"option.cron": "Cron 表达式",
"option.storageMetrix": "Metrix 存储",
@@ -327,6 +329,8 @@ MESSAGES: dict[str, dict[str, str]] = {
"field.table_name": "Table",
"field.keep_outputs": "Local results kept",
"field.keep_runs": "Runs kept",
"field.history_keep_days": "History kept (days)",
"field.history_keep_days_hint": "Uses the YYYY-MM-DD directory name and the date in each file name. Older history is deleted from the file source. 0 keeps everything.",
"option.interval": "Interval",
"option.cron": "Cron",
"option.storageMetrix": "Metrix storage",