🐛 Automatic cleanup of the local data repo may accidentally delete snapshots https://github.com/siyuan-note/siyuan/issues/13203
This commit is contained in:
parent
cc033c115d
commit
84aea8cd2f
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ func autoPurgeRepo(cron bool) {
|
|||
}
|
||||
|
||||
retentionIndexIDs = gulu.Str.RemoveDuplicatedElem(retentionIndexIDs)
|
||||
if 1 > len(retentionIndexIDs) {
|
||||
if 16 > len(retentionIndexIDs) {
|
||||
logging.LogInfof("no index to purge [ellapsed=%.2fs]", time.Since(now).Seconds())
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue