Timing improvements for all outputs and DTSC socket input

This commit is contained in:
Thulinma 2020-05-22 03:16:00 +02:00
parent 2124d10a9b
commit bd9ae56532
2 changed files with 10 additions and 9 deletions

View file

@ -139,11 +139,11 @@ namespace DTSC{
return;
}
if (!src.spool()){
if (sleepCount++ > 150){
if (sleepCount++ > 750){
WARN_MSG("Waiting for packet on connection timed out");
return;
}
Util::wait(100);
Util::sleep(20);
}
}
}