i used a timeout not an interval 😭

This commit is contained in:
Haroon 2024-09-03 16:55:50 +01:00
parent b0905eca90
commit 92389c73b9
Signed by: haroon
GPG key ID: 8B96C44DDF5756E4

View file

@ -1097,5 +1097,5 @@ receiver.router.get('*', (req, res) => {
cacheStuff(); 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.
})(); })();