all: use tracy for tracing
This commit is contained in:
parent
50186e764e
commit
ccad3cf0fb
56 changed files with 647 additions and 171 deletions
|
|
@ -146,16 +146,14 @@ impl Acceptor {
|
|||
}
|
||||
let acc = Rc::new(Acceptor { socket });
|
||||
let futures = vec![
|
||||
state.eng.spawn(accept(
|
||||
acc.socket.secure.clone(),
|
||||
state.clone(),
|
||||
ClientCaps::all(),
|
||||
)),
|
||||
state.eng.spawn(accept(
|
||||
acc.socket.insecure.clone(),
|
||||
state.clone(),
|
||||
CAPS_DEFAULT,
|
||||
)),
|
||||
state.eng.spawn(
|
||||
"secure acceptor",
|
||||
accept(acc.socket.secure.clone(), state.clone(), ClientCaps::all()),
|
||||
),
|
||||
state.eng.spawn(
|
||||
"insecure acceptor",
|
||||
accept(acc.socket.insecure.clone(), state.clone(), CAPS_DEFAULT),
|
||||
),
|
||||
];
|
||||
state.acceptor.set(Some(acc.clone()));
|
||||
Ok((acc, futures))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue