diff --git a/client/shared/cache/cache.ts b/client/shared/cache/cache.ts index 01c62075..c250958b 100644 --- a/client/shared/cache/cache.ts +++ b/client/shared/cache/cache.ts @@ -130,9 +130,9 @@ export async function getCachedRegistryPlugins(): Promise { export async function getCachedUserSettings() { const data = await queryClient.fetchQuery( [CacheKey.userSettings], - () => getUserSettings, + () => getUserSettings(), { - staleTime: 1 * 60 * 1000, // 缓存1分钟 + staleTime: 10 * 60 * 1000, // 缓存10分钟 } );