a
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
834a3aa959
commit
2e69e4eea7
|
@ -61,9 +61,8 @@ export default class Auth {
|
||||||
window.localStorage.renewPeriod = json.data.renewPeriod;
|
window.localStorage.renewPeriod = json.data.renewPeriod;
|
||||||
window.localStorage.renewInterval = json.data.renewInterval;
|
window.localStorage.renewInterval = json.data.renewInterval;
|
||||||
|
|
||||||
this.checkTokenValidity();
|
const intervalMilliseconds = json.data.renewInterval * 1000;
|
||||||
const intervalMilliseconds = 50 * 1000;
|
setInterval(this.checkTokenValidity.bind(this), intervalMilliseconds);
|
||||||
// setInterval(this.checkTokenValidity.bind(this), intervalMilliseconds);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue