mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-04-12 14:38:21 +02:00
Update Job-Footer only every 5 seconds
This commit is contained in:
parent
1ed376ba47
commit
a3046680ac
@ -26,7 +26,7 @@ export default function Footer({connectedToBackend, apiUri, checkConnectedInterv
|
||||
if(countUpdateInterval === undefined){
|
||||
setCountUpdateInterval(setInterval(() => {
|
||||
UpdateBackendState();
|
||||
}, checkConnectedInterval));
|
||||
}, checkConnectedInterval * 5));
|
||||
}
|
||||
}else{
|
||||
clearInterval(countUpdateInterval);
|
||||
|
Loading…
x
Reference in New Issue
Block a user