Schedule token renew every minute

This commit is contained in:
kolaente 2020-04-04 18:29:36 +02:00
parent 8480bf334f
commit 066cd63771
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

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