all: Remove "large blocks" config (#5763)

We now always use large / variable blocks.
This commit is contained in:
Jakob Borg
2019-06-06 16:57:38 +02:00
committed by Audrius Butkevicius
parent ca2fa8de4e
commit 997bb5e7e1
6 changed files with 19 additions and 31 deletions

View File

@@ -467,14 +467,13 @@ func TestWalkReceiveOnly(t *testing.T) {
func walkDir(fs fs.Filesystem, dir string, cfiler CurrentFiler, matcher *ignore.Matcher, localFlags uint32) []protocol.FileInfo {
fchan := Walk(context.TODO(), Config{
Filesystem: fs,
Subs: []string{dir},
AutoNormalize: true,
Hashers: 2,
UseLargeBlocks: true,
CurrentFiler: cfiler,
Matcher: matcher,
LocalFlags: localFlags,
Filesystem: fs,
Subs: []string{dir},
AutoNormalize: true,
Hashers: 2,
CurrentFiler: cfiler,
Matcher: matcher,
LocalFlags: localFlags,
})
var tmp []protocol.FileInfo