mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-04 13:27:39 +03:00
wip
This commit is contained in:
parent
8b55ea50c1
commit
fb7f21d54a
3 changed files with 3 additions and 9 deletions
|
@ -68,9 +68,7 @@ where
|
||||||
let (system, addr, server) = rx.recv().unwrap();
|
let (system, addr, server) = rx.recv().unwrap();
|
||||||
|
|
||||||
// wait for server
|
// wait for server
|
||||||
while net::TcpStream::connect(addr).is_err() {
|
thread::sleep(std::time::Duration::from_millis(50));
|
||||||
thread::sleep(std::time::Duration::from_millis(25));
|
|
||||||
}
|
|
||||||
|
|
||||||
TestServer {
|
TestServer {
|
||||||
addr,
|
addr,
|
||||||
|
|
|
@ -252,9 +252,7 @@ where
|
||||||
let (system, server, addr) = rx.recv().unwrap();
|
let (system, server, addr) = rx.recv().unwrap();
|
||||||
|
|
||||||
// wait for server
|
// wait for server
|
||||||
while net::TcpStream::connect(addr).is_err() {
|
thread::sleep(std::time::Duration::from_millis(50));
|
||||||
thread::sleep(std::time::Duration::from_millis(25));
|
|
||||||
}
|
|
||||||
|
|
||||||
TestServer {
|
TestServer {
|
||||||
addr,
|
addr,
|
||||||
|
|
|
@ -705,9 +705,7 @@ where
|
||||||
let (system, server, addr) = rx.recv().unwrap();
|
let (system, server, addr) = rx.recv().unwrap();
|
||||||
|
|
||||||
// wait for server
|
// wait for server
|
||||||
while net::TcpStream::connect(addr).is_err() {
|
thread::sleep(std::time::Duration::from_millis(50));
|
||||||
thread::sleep(std::time::Duration::from_millis(25));
|
|
||||||
}
|
|
||||||
|
|
||||||
let client = {
|
let client = {
|
||||||
let connector = {
|
let connector = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue