diff options
author | Eric Bailey <git@esb.lol> | 2023-11-16 17:43:53 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 15:43:53 -0800 |
commit | 6f57192bd56e1e9b8eb89eb23cf847371ca2684c (patch) | |
tree | 1a6bb3fc9768a178edc41368ad3b2fc792921a80 /src/state/queries/profile-extra-info.ts | |
parent | 1952705dedd53041c1bcd39a3a04059ed5236ed6 (diff) | |
download | voidsky-6f57192bd56e1e9b8eb89eb23cf847371ca2684c.tar.zst |
Revise cache times (#1942)
(cherry picked from commit 1be2060a2b81741dcf9a392160af87d2747b3497)
Diffstat (limited to 'src/state/queries/profile-extra-info.ts')
-rw-r--r-- | src/state/queries/profile-extra-info.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/queries/profile-extra-info.ts b/src/state/queries/profile-extra-info.ts index c30a2c040..4e7890e32 100644 --- a/src/state/queries/profile-extra-info.ts +++ b/src/state/queries/profile-extra-info.ts @@ -13,7 +13,7 @@ export const RQKEY = (did: string) => ['profile-extra-info', did] export function useProfileExtraInfoQuery(did: string) { const {agent} = useSession() return useQuery({ - staleTime: STALE.INFINITY, + staleTime: STALE.MINUTES.ONE, queryKey: RQKEY(did), async queryFn() { const [listsRes, feedsRes] = await Promise.all([ |