fix to avoid burning through CPU time

This commit is contained in:
Robin Müller 2023-07-05 15:15:19 +02:00
parent 43408f3a9b
commit 831cb46059
Signed by: muellerr
GPG Key ID: 407F9B00F858F270
2 changed files with 2 additions and 3 deletions

View File

@ -388,7 +388,6 @@ fn main() {
break;
}
}
thread::sleep(Duration::from_millis(200));
})
.unwrap();

View File

@ -69,9 +69,9 @@ impl Service17CustomWrapper {
}
}
PusPacketHandlerResult::Empty => {
return false;
return true;
}
}
true
false
}
}