Fix load balancer CPU usage

This commit is contained in:
Thulinma 2022-07-14 10:45:53 +02:00
parent 14bc94ece5
commit 5bdd4a416e

View file

@ -140,6 +140,9 @@ namespace Mist{
startTime = 0; // note success
break; // break out of while loop
}
}else{
//Prevent 100% CPU usage if the response is slow
Util::sleep(25);
}
}
if (startTime){