mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-25 01:08:50 +01:00
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) => {
|
||||
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,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue