From b609d8d11a3c6e716b5df26a601bc1f05324004a Mon Sep 17 00:00:00 2001 From: Grzegorz Uriasz Date: Tue, 12 Sep 2023 15:13:14 +0200 Subject: [PATCH] Improve file listing for b2 backend --- 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..a6e4f50 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 * 1000 if singleFile { if includeVersions { maxFileCount = 4