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

Fetch data every 500ms unless data is already enqueued #321

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

jcreighton
Copy link
Contributor

Investigating #294 revealed that the cache doesn't update on longer-running requests. It works as expected for fast requests. I've modified the hook to request data every 500ms (as long as an update is not enqueued). That seems to be working, so hopefully this fixes the issue.

Copy link
Member

@hwillson hwillson left a comment

Choose a reason for hiding this comment

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

Thanks @jcreighton!

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.

None yet

2 participants