nuxt / content

The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
https://content.nuxt.com
MIT License
3.08k stars 624 forks source link

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

Closed comanche2 closed 7 months ago

comanche2 commented 7 months ago

🔗 Linked issue

❓ Type of change

📚 Description

Resolves https://github.com/nuxt/content/issues/2354 Split getContent promises to chunks, to prevent EMFILE error.

📝 Checklist

farnabaz commented 7 months ago

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

comanche2 commented 7 months ago

@farnabaz Sorry, my bad. Updated the PR.