minisize portable service sleep time
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
ca7487350f
commit
6e0f75cbde
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user