#6274 proxy workerTimeControl #14
|
@ -40,7 +40,7 @@ function getTokenConfig() {
|
||||||
if (!data) return;
|
if (!data) return;
|
||||||
localStorage.setItem('renewPeriod', data.renewPeriod);
|
localStorage.setItem('renewPeriod', data.renewPeriod);
|
||||||
clearInterval(intervalId);
|
clearInterval(intervalId);
|
||||||
intervalId = setInterval(() => checkValidity(), data.renewInterval * 10);
|
intervalId = setInterval(() => checkValidity(), data.renewInterval * 1000);
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue