Skip to content

improvement, log the progress of creating the index.json file #9434

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

Merged
merged 4 commits into from
Jan 9, 2025

Conversation

davidfirst
Copy link
Member

For large scopes, when index.json is deleted it takes a while to create a new one (because it needs to read every object file). In the meanwhile, there is no indication that something is happening. This PR logs to the debug.log the progress every 1,000 files.
Also, the implementation of p-map-pool is simplified by using chunk from lodash.

@davidfirst davidfirst merged commit 18832ae into master Jan 9, 2025
10 checks passed
@davidfirst davidfirst deleted the log-progress-index-json-creation branch January 9, 2025 21:51
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.

2 participants