setInterval von 5 auf 10 Sekunden erhöhert, da das CPL so mehr Zeit hat, alle Variablen zu initialisieren., weil bei 5 Sekunden irgendwann schafft das CPL nicht
This commit is contained in:
@@ -316,7 +316,7 @@ function Kue705FO({
|
||||
|
||||
// Aktualisierung sofort und alle 5 Sekunden
|
||||
updateAlarmStatus();
|
||||
const interval = setInterval(updateAlarmStatus, 5000);
|
||||
const interval = setInterval(updateAlarmStatus, 10000);
|
||||
|
||||
return () => clearInterval(interval); // Bereinigung bei Entladen der Komponente
|
||||
}, [slotIndex]);
|
||||
@@ -403,7 +403,7 @@ function Kue705FO({
|
||||
"Isolationsfehler"
|
||||
)
|
||||
);
|
||||
}, 2000);
|
||||
}, 10000);
|
||||
|
||||
return () => clearInterval(intervalId);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user