From 6f57192bd56e1e9b8eb89eb23cf847371ca2684c Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 16 Nov 2023 17:43:53 -0600 Subject: Revise cache times (#1942) (cherry picked from commit 1be2060a2b81741dcf9a392160af87d2747b3497) --- src/state/queries/profile-lists.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state/queries/profile-lists.ts') diff --git a/src/state/queries/profile-lists.ts b/src/state/queries/profile-lists.ts index f24c57858..919ac1153 100644 --- a/src/state/queries/profile-lists.ts +++ b/src/state/queries/profile-lists.ts @@ -19,7 +19,7 @@ export function useProfileListsQuery(did: string, opts?: {enabled?: boolean}) { QueryKey, RQPageParam >({ - staleTime: STALE.INFINITY, + staleTime: STALE.MINUTES.ONE, queryKey: RQKEY(did), async queryFn({pageParam}: {pageParam: RQPageParam}) { const res = await agent.app.bsky.graph.getLists({ -- cgit 1.4.1