mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-17 04:28:07 +01:00
🎨 Automatically purge unreferenced data snapshots older than 30 days https://github.com/siyuan-note/siyuan/issues/9613
This commit is contained in:
parent
e408ca69b7
commit
637706decd
2 changed files with 2 additions and 8 deletions
|
|
@ -325,9 +325,6 @@ func InitConf() {
|
|||
if nil == Conf.Repo {
|
||||
Conf.Repo = conf.NewRepo()
|
||||
}
|
||||
if 1 > Conf.Repo.HistoryRetentionDays {
|
||||
Conf.Repo.HistoryRetentionDays = 30
|
||||
}
|
||||
|
||||
if nil == Conf.Search {
|
||||
Conf.Search = conf.NewSearch()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue