mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +00:00
aquatic_ws: wait for and quit on socket bind errors in workers
This commit is contained in:
parent
078a8c2868
commit
a596ee155a
4 changed files with 46 additions and 3 deletions
|
|
@ -126,4 +126,8 @@ impl OutMessageSender {
|
|||
){
|
||||
self.0[meta.worker_index].send((meta, message));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pub type SocketWorkerStatus = Option<Result<(), String>>;
|
||||
pub type SocketWorkerStatuses = Arc<Mutex<Vec<SocketWorkerStatus>>>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue