From 98d1f44244c74292e91d2b7b298ca7a13a19b593 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 7 Nov 2023 11:19:49 +0800 Subject: [PATCH] Also 3s --- src/components/timeline.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/timeline.jsx b/src/components/timeline.jsx index e71c569..830dcae 100644 --- a/src/components/timeline.jsx +++ b/src/components/timeline.jsx @@ -265,7 +265,8 @@ function Timeline({ (visible) => { if (visible) { const timeDiff = Date.now() - lastHiddenTime.current; - if (!lastHiddenTime.current || timeDiff > 1000 * 60) { + if (!lastHiddenTime.current || timeDiff > 1000 * 3) { + // 3 seconds loadOrCheckUpdates({ disableIdleCheck: true, });