mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-09 17:45:03 +09:00
Add comments
This commit is contained in:
parent
89fa4d71a3
commit
913c6925bf
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@ func (d *deletionManager) UpdateState(state *settingsstate.State) (err error) {
|
|||
spaceDeleter.DeleteSpace(d.spaceId)
|
||||
}
|
||||
if state.SpaceDeletionDate.Add(d.deletionInterval).Before(time.Now()) {
|
||||
err = d.deletionState.Add(d.provider.AllIds())
|
||||
err = d.deletionState.Add(d.provider.AllIds()) // todo: except deletion tree
|
||||
// todo: compaction in pogreb
|
||||
d.onSpaceDelete()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue