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

Check links in md files in parallel #2984

Merged
merged 1 commit into from
Mar 4, 2024
Merged

Conversation

mreso
Copy link
Collaborator

@mreso mreso commented Feb 29, 2024

Description

This PR checks links in our doc files in parallel to speed up the process.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Feature/Issue validation/testing

Please describe the Unit or Integration tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

  • See CI

Checklist:

  • Did you have fun?

@mreso mreso marked this pull request as ready for review February 29, 2024 23:20
for f in files:
in_queue.put_nowait(f)

for n in range(16):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just curious, why 16 is chosen at here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a heuristic, these are io bound requests, no computation, so we don't have to limit to number of cores or anything.

@mreso mreso mentioned this pull request Mar 1, 2024
10 tasks
@lxning lxning added this pull request to the merge queue Mar 4, 2024
Merged via the queue into master with commit 424b66d Mar 4, 2024
15 checks passed
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