mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
This commit is contained in:
parent
7f0d4f6ba8
commit
fb2d85b9d5
@ -124,7 +124,7 @@ func (db *Lowlevel) RemovePendingFoldersBeforeTime(device protocol.DeviceID, old
|
||||
return nil, err
|
||||
}
|
||||
defer iter.Release()
|
||||
oldest = oldest.Round(time.Second)
|
||||
oldest = oldest.Truncate(time.Second)
|
||||
var res []string
|
||||
for iter.Next() {
|
||||
var of ObservedFolder
|
||||
|
Loading…
Reference in New Issue
Block a user