Also 3s
This commit is contained in:
parent
d16cd501d4
commit
98d1f44244
1 changed files with 2 additions and 1 deletions
|
@ -265,7 +265,8 @@ function Timeline({
|
||||||
(visible) => {
|
(visible) => {
|
||||||
if (visible) {
|
if (visible) {
|
||||||
const timeDiff = Date.now() - lastHiddenTime.current;
|
const timeDiff = Date.now() - lastHiddenTime.current;
|
||||||
if (!lastHiddenTime.current || timeDiff > 1000 * 60) {
|
if (!lastHiddenTime.current || timeDiff > 1000 * 3) {
|
||||||
|
// 3 seconds
|
||||||
loadOrCheckUpdates({
|
loadOrCheckUpdates({
|
||||||
disableIdleCheck: true,
|
disableIdleCheck: true,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue