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

🔄 Fetch with Retry for HTML build #1793

Merged
merged 1 commit into from
Jan 20, 2025
Merged

🔄 Fetch with Retry for HTML build #1793

merged 1 commit into from
Jan 20, 2025

Conversation

rowanc1
Copy link
Member

@rowanc1 rowanc1 commented Jan 20, 2025

Limits outgoing connections to five.

Fixes #1775
See also #1336

Copy link

changeset-bot bot commented Jan 20, 2025

🦋 Changeset detected

Latest commit: 28a184c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
myst-cli Patch
mystmd Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rowanc1 rowanc1 mentioned this pull request Jan 20, 2025
Limits outgoing connections to five.

See #1775, #1336
Comment on lines +149 to +150
limitConnections(async () => {
const resp = await fetchWithRetry(session, route.url);
Copy link
Member Author

Choose a reason for hiding this comment

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

Main changes here, limiting connections to 5 and having a retry with exponential backoff.

@rowanc1 rowanc1 merged commit d9d7386 into main Jan 20, 2025
7 checks passed
@rowanc1 rowanc1 deleted the feat/html-build branch January 20, 2025 22:25
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.

Export to html often fails when trying to serve many pages
1 participant