mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 14:48:30 +00:00
This commit is contained in:
parent
9d7a811e72
commit
1b10607def
@ -141,11 +141,6 @@ func (f *sendReceiveFolder) pull() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
if err := f.CheckHealth(); err != nil {
|
||||
l.Debugln("Skipping pull of", f.Description(), "due to folder error:", err)
|
||||
return true
|
||||
}
|
||||
|
||||
f.model.fmut.RLock()
|
||||
curIgnores := f.model.folderIgnores[f.folderID]
|
||||
folderFiles := f.model.folderFiles[f.folderID]
|
||||
@ -161,6 +156,11 @@ func (f *sendReceiveFolder) pull() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
if err := f.CheckHealth(); err != nil {
|
||||
l.Debugln("Skipping pull of", f.Description(), "due to folder error:", err)
|
||||
return true
|
||||
}
|
||||
|
||||
curIgnoreHash := curIgnores.Hash()
|
||||
ignoresChanged := curIgnoreHash != f.prevIgnoreHash
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user