🎨 History Retention Days supports a maximum setting of 3650 https://github.com/siyuan-note/siyuan/issues/15979

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel
2025-09-29 22:21:52 +08:00
parent 9e78abbb4b
commit c3da02f657
+1 -1
View File
@@ -310,7 +310,7 @@ func setEditor(c *gin.Context) {
}
if 1 > editor.HistoryRetentionDays {
editor.HistoryRetentionDays = 1
editor.HistoryRetentionDays = 30
}
if 3650 < editor.HistoryRetentionDays {
editor.HistoryRetentionDays = 3650