This commit is contained in:
Lim Chee Aun 2023-11-07 11:19:49 +08:00
parent d16cd501d4
commit 98d1f44244

View file

@ -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,
});