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(() => {
|
||||
auth.renewToken()
|
||||
}, 1000 * 60 * 60)
|
||||
}, 1000 * 60)
|
||||
|
||||
// Set the motd
|
||||
this.setMotd()
|
||||
|
|
Loading…
Reference in a new issue