Archived
Remove SyncOrder, at least temporarily (sorry fREW)
Doesn't actually work very well with the batched approach to needed files, not documented, not exposed in UI. I'll be happy to reintegrate if this is solved.
This commit is contained in:
1 parent
28f2e8f24d
commit
75d4d2df8b
4 files changed
+7
-177
No files matched your search
@@ -318,9 +318,6 @@ func (m *Model) NeedFilesRepo(repo string) []protocol.FileInfo {
|
||||
fs = append(fs, f)
|
||||
return len(fs) < indexBatchSize
|
||||
})
|
||||
if r := m.repoCfgs[repo].FileRanker(); r != nil {
|
||||
files.SortBy(r).Sort(fs)
|
||||
}
|
||||
return fs
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user