From 363920c5d769ff7e71278a1a630e965ad07eccb6 Mon Sep 17 00:00:00 2001 From: Innei Date: Wed, 28 Jun 2023 22:42:06 +0800 Subject: [PATCH] fix: extend the expiration time of xlog Signed-off-by: Innei --- src/components/widgets/xlog/XLogSummary.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/widgets/xlog/XLogSummary.tsx b/src/components/widgets/xlog/XLogSummary.tsx index 3a40219e9a..7c963e0892 100644 --- a/src/components/widgets/xlog/XLogSummary.tsx +++ b/src/components/widgets/xlog/XLogSummary.tsx @@ -28,7 +28,7 @@ const XLogSummary: FC<{ }, { enabled: !!cid, - cacheTime: 10000, + staleTime: 1000 * 60 * 60 * 24 * 7, }, )