Skip to content

fix: split getContent to chunks in getIndexedContentsList (#2354)#2549

Merged
farnabaz merged 2 commits intonuxt:mainfrom
comanche2:fix/#2354
Feb 20, 2024
Merged

fix: split getContent to chunks in getIndexedContentsList (#2354)#2549
farnabaz merged 2 commits intonuxt:mainfrom
comanche2:fix/#2354

Conversation

@comanche2
Copy link
Copy Markdown
Contributor

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Resolves #2354
Split getContent promises to chunks, to prevent EMFILE error.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@farnabaz
Copy link
Copy Markdown
Member

Thanks @comanche2,
Do you mind fixing the lint issues?

@comanche2
Copy link
Copy Markdown
Contributor Author

@farnabaz Sorry, my bad.
Updated the PR.

Comment thread src/runtime/server/content-index.ts Outdated
Co-authored-by: Farnabaz <farnabaz@gmail.com>
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.

Unable to start or build with too many files

2 participants