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
+2
View File
@@ -807,6 +807,8 @@ class AdminPage:
self.text("table_name")
with self.section("retention", "section.retention"):
with self.field("field.history_keep_days", "field.history_keep_days_hint"):
self.number("history_keep_days", 0, 3650)
with self.field("field.keep_outputs"):
self.number("keep_outputs", 1, 1000)
with self.field("field.keep_runs"):