Add rust lint CI job.
Some checks failed
Check / Check Rust (pull_request) Failing after 25s

This commit is contained in:
Drew 2025-12-13 23:16:33 -08:00
parent 311755c812
commit baa6c1568e
30 changed files with 181 additions and 108 deletions

View file

@ -57,9 +57,8 @@ impl YellowstoneServerContext {
pub fn wait(&self, service: &str) -> Result<(), ZError> {
loop {
match self.service_map.lock().get(service) {
Some(_) => return Ok(()),
None => {}
if self.service_map.lock().get(service).is_some() {
return Ok(());
}
self.registration_semaphore.wait().unwrap();
}