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: allow queries to be fetched with zero cache time and do not hydrate it #1442

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

boschni
Copy link
Collaborator

@boschni boschni commented Dec 15, 2020

Fixes for #1432 .

  1. Prevents queries from getting cancelled in flight when a low cache time is set.
  2. Do not hydrate cache time because environments can have different caching requirements.

@vercel
Copy link

vercel bot commented Dec 15, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tannerlinsley/react-query/gixxjbysv
✅ Preview: https://react-query-git-feature-fix-cache-times.tannerlinsley.vercel.app

@tannerlinsley tannerlinsley merged commit eb301fc into master Dec 16, 2020
@tannerlinsley tannerlinsley deleted the feature/fix-cache-times branch December 16, 2020 01:46
@tannerlinsley
Copy link
Collaborator

🎉 This PR is included in version 3.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

None yet

2 participants