Schedule token renew every minute
This commit is contained in:
parent
8480bf334f
commit
066cd63771
1 changed files with 2 additions and 2 deletions
|
@ -283,10 +283,10 @@
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
// Schedule a token renew every 60 minutes
|
// Schedule a token renew every minute
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
auth.renewToken()
|
auth.renewToken()
|
||||||
}, 1000 * 60 * 60)
|
}, 1000 * 60)
|
||||||
|
|
||||||
// Set the motd
|
// Set the motd
|
||||||
this.setMotd()
|
this.setMotd()
|
||||||
|
|
Loading…
Reference in a new issue