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