VASTLY decreased the amount of pregenerations done by the site, greatly improving performance

This commit is contained in:
bingus_violet 2024-06-25 01:32:39 -05:00
parent ae1397d84a
commit ba79d970a1
3 changed files with 11 additions and 3 deletions

1
api.js
View file

@ -56,6 +56,7 @@ function socketeer() {
module.exports.connected = true
ping(30000)
lastPong = Date.now()
events.emit("lanyardConnect")
} else if (data.op == 3) {
lastPong = Date.now()
} else if (data.op == 0) {