mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-04 12:13:28 -07:00
keep checking for new kcpp updates every 6 hours after gerbil was launched
This commit is contained in:
parent
fe84287463
commit
206351c284
1 changed files with 9 additions and 0 deletions
|
|
@ -120,6 +120,15 @@ export const App = () => {
|
|||
setTimeout(() => {
|
||||
checkForUpdates();
|
||||
}, 5000);
|
||||
|
||||
const interval = setInterval(
|
||||
() => {
|
||||
checkForUpdates();
|
||||
},
|
||||
6 * 60 * 60 * 1000
|
||||
);
|
||||
|
||||
return () => clearInterval(interval);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue