From 0bfab890577804647f55b4fcf77ddc00e07b2d08 Mon Sep 17 00:00:00 2001 From: "John K. Luebs" Date: Mon, 2 Oct 2023 12:46:02 -0500 Subject: [PATCH] Increase b2 client max file listing count to 10000 Considerable speed improvement with listing large storage. --- src/duplicacy_b2client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duplicacy_b2client.go b/src/duplicacy_b2client.go index 0182ceb..c682dab 100644 --- a/src/duplicacy_b2client.go +++ b/src/duplicacy_b2client.go @@ -396,7 +396,7 @@ type B2ListFileNamesOutput struct { func (client *B2Client) ListFileNames(threadIndex int, startFileName string, singleFile bool, includeVersions bool) (files []*B2Entry, err error) { - maxFileCount := 1000 + maxFileCount := 10_000 if singleFile { if includeVersions { maxFileCount = 4