Skip to content

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

Merged
jcreighton merged 1 commit intomainfrom
cache-update
Dec 14, 2020
Merged

Fetch data every 500ms unless data is already enqueued#321
jcreighton merged 1 commit intomainfrom
cache-update

Conversation

@jcreighton
Copy link
Copy Markdown
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.

@jcreighton jcreighton requested a review from hwillson December 14, 2020 02:37
Copy link
Copy Markdown
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.

2 participants