mirror of
https://github.com/langgenius/dify.git
synced 2026-06-07 16:32:01 +08:00
fix(web): use default profile query cache (#36832)
This commit is contained in:
parent
9490d63c50
commit
91ac465982
@ -35,7 +35,5 @@ export const userProfileQueryOptions = () =>
|
||||
},
|
||||
}
|
||||
},
|
||||
staleTime: 0,
|
||||
gcTime: 0,
|
||||
retry: (failureCount, error) => !isLegacyBase401(error) && failureCount < 3,
|
||||
})
|
||||
|
||||
@ -75,7 +75,5 @@ export const serverUserProfileQueryOptions = () =>
|
||||
},
|
||||
}
|
||||
},
|
||||
staleTime: 0,
|
||||
gcTime: 0,
|
||||
retry: false,
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user