get-convex / get-convex/convex-react-query

is the default gcTime of 5 minutes too long?

Open
#9 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
41
Forks
7
PR merge metrics
No merged PRs in 30d

Description

With @convex-dev/react-query the default [`gcTime`](https://tanstack.com/query/latest/docs/framework/react/guides/caching) of 5 minutes [edit: maybe] isn't appropriate because it means continuing to receive updates for a query for 5 minutes. This could be a problem especially if e.g. subscribing to a new query on keystroke, but even in normal cases it's potentially a lot of extra function executions for queries that update frequently.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.