Skip to content

Commit b891d32

Browse files
committed
Resetting timeout indefinitely instead of only once.
1 parent e8f8085 commit b891d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/WatchedQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class WatchedQuery {
5656
release();
5757
} else {
5858
// If the query is taking long, keep the temporary hold.
59-
timeout = setTimeout(release, 5_000);
59+
timeout = setTimeout(timeoutRelease, 5_000);
6060
}
6161
};
6262

0 commit comments

Comments
 (0)