Refactor WakeComponent: enable periodic ping retriggering by uncommenting setTimeout logic

master^2
Tudor Stanciu 2024-11-16 02:13:12 +02:00
parent 174f383968
commit 0a3e402013
1 changed files with 3 additions and 3 deletions

View File

@ -71,9 +71,9 @@ const WakeComponent: React.FC<Props> = ({ machine, addLog, disabled }) => {
//retrigger //retrigger
log(`Periodic ping will be re-triggered in ${startingTime} ms [${msToMinAndSec(startingTime)}]`); log(`Periodic ping will be re-triggered in ${startingTime} ms [${msToMinAndSec(startingTime)}]`);
// setTimeout(() => { setTimeout(() => {
// setTrigger(prev => !prev); setTrigger(prev => !prev);
// }, startingTime); }, startingTime);
} else { } else {
blip.error(result.status); blip.error(result.status);
} }