minisize portable service sleep time

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2023-04-28 19:01:34 +08:00
1 parent ca7487350f
commit 6e0f75cbde
1 file changed
+1 -1
+1 -1
View File
@@ -317,7 +317,7 @@ pub mod server {
}
if first_frame_captured {
if !utils::counter_equal(shmem.as_ptr().add(ADDR_CAPTURE_FRAME_COUNTER)) {
std::thread::sleep(spf);
std::thread::sleep(std::time::Duration::from_millis(1));
continue;
}
}