Commit test code.
This commit is contained in:
parent
f75642fd30
commit
24f40bee7f
@ -176,12 +176,14 @@ async fn main()
|
||||
Ok(_) => {
|
||||
println!("Listener bind successful.");
|
||||
tokio::spawn(async move {
|
||||
println("ACCEPT");
|
||||
println!("ACCEPT");
|
||||
while server.accept(handle_http, HttpServiceArgs {
|
||||
bus:bus.connect().unwrap(),
|
||||
cache:cache.clone(),
|
||||
}).await.is_ok() { }
|
||||
});
|
||||
|
||||
tokio::spawn(async move { println!("test"); });
|
||||
}
|
||||
Err(_) => {
|
||||
println!("error: failed to bind port 38612.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user