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