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

plex.GetDocumentAsync needs to use paging #6

Open
ukdtom opened this issue May 20, 2022 · 1 comment
Open

plex.GetDocumentAsync needs to use paging #6

ukdtom opened this issue May 20, 2022 · 1 comment

Comments

@ukdtom
Copy link
Contributor

ukdtom commented May 20, 2022

When requesting a response from plex.GetDocumentAsync paging should be used, to avoid database lockup => PMS Crash, as well as cope for what the future might bring

@mfeingol
Copy link
Owner

mfeingol commented Jun 1, 2022

PR also welcome. However, it does complicate things since the return value would no longer be a JsonDocument but an enumerable of JsonDocuments, or we'd have to push the paging mechanism upward to all callers.

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

No branches or pull requests

2 participants