Completely disable the RQ cache in post-thread (#2133)
This commit is contained in:
parent
cdc1d08267
commit
5b19e2b90b
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ export type ThreadNode =
|
|||
export function usePostThreadQuery(uri: string | undefined) {
|
||||
const queryClient = useQueryClient()
|
||||
return useQuery<ThreadNode, Error>({
|
||||
gcTime: 0,
|
||||
queryKey: RQKEY(uri || ''),
|
||||
async queryFn() {
|
||||
const res = await getAgent().getPostThread({uri: uri!})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue