Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve file listing for b2 backend #654

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gorbak25
Copy link
Contributor

@gorbak25 gorbak25 commented Sep 12, 2023

Both the b2_list_file_names and b2_list_file_versions api calls may return up to 10k results.
image

By increasing the maxFileCount parameter this PR reduces the time it takes to prune/check/list a repository.

Without this PR duplicacy list -r 2 -files takes so long that I never bothered to wait until it produces output. With this PR the file listing for that command produces output almost immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant