Schedule token renew every minute

This commit is contained in:
kolaente 2020-04-04 18:29:36 +02:00
parent 8480bf334f
commit 066cd63771
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -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()