Set staleTime to 6hrs for labeler details

This commit is contained in:
Eric Bailey
2024-03-14 18:08:46 -05:00
parent c5d5261257
commit 7f178ffb88
+1
View File
@@ -51,6 +51,7 @@ export function useLabelersDetailedInfoQuery({dids}: {dids: string[]}) {
enabled: !!dids.length,
queryKey: labelersDetailedInfoQueryKey(dids),
gcTime: 1000 * 60 * 60 * 6, // 6 hours
staleTime: 1000 * 60 * 60 * 6, // 6 hours
queryFn: async () => {
const res = await getAgent().app.bsky.labeler.getServices({
dids,