lib/model: Track puller creation times (fixes #3145)

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3150
This commit is contained in:
Audrius Butkevicius
2016-05-22 10:16:09 +00:00
committed by Jakob Borg
parent 44290a66b7
commit 00be2bf18d
4 changed files with 21 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ type sharedPullerState struct {
ignorePerms bool
version protocol.Vector // The current (old) version
sparse bool
created time.Time
// Mutable, must be locked for access
err error // The first error we hit