Revise cache times (#1942)
(cherry picked from commit 1be2060a2b81741dcf9a392160af87d2747b3497)
This commit is contained in:
parent
1952705ded
commit
6f57192bd5
14 changed files with 14 additions and 14 deletions
|
@ -34,7 +34,7 @@ export function useSuggestedFollowsQuery() {
|
|||
string | undefined
|
||||
>({
|
||||
enabled: !!moderationOpts,
|
||||
staleTime: STALE.INFINITY,
|
||||
staleTime: STALE.HOURS.ONE,
|
||||
queryKey: suggestedFollowsQueryKey,
|
||||
queryFn: async ({pageParam}) => {
|
||||
const res = await agent.app.bsky.actor.getSuggestions({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue