the fix broke it, im a great dev :3

This commit is contained in:
2025-04-29 16:02:09 -07:00
parent 747bef3c93
commit ba95f2bd1d

View File

@ -132,15 +132,14 @@ async function checkForUpdates(config) {
}
// Main loop
async function poll() {
(async () => {
console.log('🚀 Starting poller...');
for (const config of configs) {
await checkForUpdates(config);
}
setTimeout(poll, pollIntervalMs);
}
(async () => {
console.log('🚀 Starting poller...');
await poll();
setInterval(async () => {
for (const config of configs) {
await checkForUpdates(config);
}
}, pollIntervalMs);
})();