Increase b2 client max file listing count to 10000

Considerable speed improvement with listing large storage.
This commit is contained in:
2023-10-02 12:46:02 -05:00
parent 3468117fe1
commit 0bfab89057

View File

@@ -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