keep checking for new kcpp updates every 6 hours after gerbil was launched

This commit is contained in:
lone-cloud 2025-11-01 22:22:10 -07:00
parent 9cef647942
commit 1f4c4233ef

View file

@ -120,6 +120,15 @@ export const App = () => {
setTimeout(() => { setTimeout(() => {
checkForUpdates(); checkForUpdates();
}, 5000); }, 5000);
const interval = setInterval(
() => {
checkForUpdates();
},
6 * 60 * 60 * 1000
);
return () => clearInterval(interval);
} }
}; };