fix to avoid burning through CPU time
This commit is contained in:
parent
43408f3a9b
commit
831cb46059
@ -388,7 +388,6 @@ fn main() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
thread::sleep(Duration::from_millis(200));
|
||||
})
|
||||
.unwrap();
|
||||
|
@ -69,9 +69,9 @@ impl Service17CustomWrapper {
|
||||
}
|
||||
}
|
||||
PusPacketHandlerResult::Empty => {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
true
|
||||
false
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user