lib/model, lib/stats: Keep track of folder's last scan time (ref #3143)

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3250
LGTM: calmh, AudriusButkevicius
This commit is contained in:
Majed Abdulaziz
2016-06-02 19:26:52 +00:00
committed by Audrius Butkevicius
parent 16063933d1
commit 48245effdf
4 changed files with 32 additions and 1 deletions

View File

@@ -1602,6 +1602,7 @@ func (m *Model) internalScanFolderSubdirs(folder string, subs []string) error {
m.updateLocalsFromScanning(folder, batch)
}
m.folderStatRef(folder).ScanCompleted()
runner.setState(FolderIdle)
return nil
}