This commit is contained in:
Nikolay Kim 2025-03-27 10:12:14 +01:00
parent ea74503736
commit a8db7de953
9 changed files with 84 additions and 45 deletions

View file

@ -386,11 +386,14 @@ impl Accept {
io,
token: info.token,
};
println!("------- ACCEPTED {:?}", msg);
if let Err(msg) = self.srv.process(msg) {
log::trace!("Server is unavailable");
self.backlog.push_back(msg);
self.backpressure(true);
return false;
} else {
println!("------- SENT ACCEPTED");
}
}
Ok(None) => return true,