fix renewPeriod
gitea/worker-time-control/pipeline/head This commit looks good
Details
gitea/worker-time-control/pipeline/head This commit looks good
Details
This commit is contained in:
parent
fb85d7fe0a
commit
8b68af8a9c
|
@ -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