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
committed by John K. Luebs
parent 8b788572c8
commit c1c8af1de9

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