We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eafb40 commit 7619977Copy full SHA for 7619977
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+## 1.2.8
4
+
5
+- Fixed an issue where stale and garbage collection timeouts would fire in server-like environments
6
7
## 1.2.7
8
9
- Imported types from Definitely Typed to repo
src/queryCache.js
@@ -122,7 +122,7 @@ export function makeQueryCache() {
122
123
// If the query started with data, schedule
124
// a stale timeout
125
- if (query.state.data) {
+ if (!isServer && query.state.data) {
126
query.scheduleStaleTimeout()
127
128
// Simulate a query healing process
0 commit comments