mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-02 11:44:45 -06:00
Increase b2 client max file listing count to 10000
Considerable speed improvement with listing large storage.
This commit is contained in:
@@ -396,7 +396,7 @@ type B2ListFileNamesOutput struct {
|
|||||||
|
|
||||||
func (client *B2Client) ListFileNames(threadIndex int, startFileName string, singleFile bool, includeVersions bool) (files []*B2Entry, err error) {
|
func (client *B2Client) ListFileNames(threadIndex int, startFileName string, singleFile bool, includeVersions bool) (files []*B2Entry, err error) {
|
||||||
|
|
||||||
maxFileCount := 1000
|
maxFileCount := 10_000
|
||||||
if singleFile {
|
if singleFile {
|
||||||
if includeVersions {
|
if includeVersions {
|
||||||
maxFileCount = 4
|
maxFileCount = 4
|
||||||
|
|||||||
Reference in New Issue
Block a user