minisize portable service sleep time
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
ca7487350f
commit
6e0f75cbde
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue