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 authored and Audrius Butkevicius committed 2016-06-02 19:26:52 +00:00
1 parent 16063933d1
commit 48245effdf
4 files changed
+32 -1

No files matched your search

+1
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
}