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

Fix list caching for streaming sources #711

Open
dylanratcliffe opened this issue Dec 11, 2024 · 0 comments
Open

Fix list caching for streaming sources #711

dylanratcliffe opened this issue Dec 11, 2024 · 0 comments

Comments

@dylanratcliffe
Copy link
Member

For sources that support ListStream we cache the items as we find them. The problem with this is that if we get to say page 4 of 10 and then the context times out, we'll have only cached some of the items, however if the user then runs another query they will now hit the cache which is bad since it won't return all the available items and won't retry.

Maybe we should be caching at the HTTP level instead?

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

1 participant