i used a timeout not an interval 😭

This commit is contained in:
DaInfLoop 2024-09-03 16:55:50 +01:00
parent b0905eca90
commit 92389c73b9
No known key found for this signature in database
GPG key ID: 8B96C44DDF5756E4

View file

@ -1097,5 +1097,5 @@ receiver.router.get('*', (req, res) => {
cacheStuff();
setTimeout(cacheStuff, 60 * 1000) // Cache every minute. Ratelimit is 1200 req/m anyways.
setInterval(cacheStuff, 60 * 1000) // Cache every minute. Ratelimit is 1200 req/m anyways.
})();