fix renewPeriod
gitea/worker-time-control/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2023-12-07 09:41:04 +01:00
parent fb85d7fe0a
commit 8b68af8a9c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ function getTokenConfig() {
if (!data) return;
localStorage.setItem('renewPeriod', data.renewPeriod);
clearInterval(intervalId);
intervalId = setInterval(() => checkValidity(), data.renewInterval * 10);
intervalId = setInterval(() => checkValidity(), data.renewInterval * 1000);
},
})
}