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

Reduce number of articles fetched per request #202

Merged
merged 1 commit into from
Mar 8, 2024
Merged

Reduce number of articles fetched per request #202

merged 1 commit into from
Mar 8, 2024

Conversation

Fyssion
Copy link
Contributor

@Fyssion Fyssion commented Feb 25, 2024

This pull request reduces the number of articles fetched in each request from the Omnivore graphql server. Currently, the number is set to 50. If fetching content is enabled, the graphql server tends to return a 500 server error and causes the plugin to fail to sync articles. This could be a larger problem with the graphql server, but to fix this issue for now, I've lowered the number of articles fetched concurrently to 15. I've tested this PR on my personal Omnivore account.

I believe this is PR resolves #185 and resolves #193. It could be related to #179 as well, but I'm not sure.

If you'd like, I'd also be happy to refactor this change out into a configuration setting (as opposed to just changing the hardcoded value). Let me know if that'd be preferred.

@jacksonh
Copy link
Contributor

jacksonh commented Mar 8, 2024

This makes sense to me. @sywhb what do you think?

Copy link
Collaborator

@sywhb sywhb left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@sywhb sywhb merged commit 3dacf1d into omnivore-app:master Mar 8, 2024
12 checks passed
Copy link

🎉 This PR is included in version 1.9.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

aaachen pushed a commit to aaachen/obsidian-omnivore that referenced this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Import fails once content of the article is included Failed to fetch articles
3 participants