This commit is contained in:
Nikolay Kim 2025-03-14 12:57:06 +05:00
parent 8b55ea50c1
commit fb7f21d54a
3 changed files with 3 additions and 9 deletions

View file

@ -68,9 +68,7 @@ where
let (system, addr, server) = rx.recv().unwrap();
// wait for server
while net::TcpStream::connect(addr).is_err() {
thread::sleep(std::time::Duration::from_millis(25));
}
thread::sleep(std::time::Duration::from_millis(50));
TestServer {
addr,

View file

@ -252,9 +252,7 @@ where
let (system, server, addr) = rx.recv().unwrap();
// wait for server
while net::TcpStream::connect(addr).is_err() {
thread::sleep(std::time::Duration::from_millis(25));
}
thread::sleep(std::time::Duration::from_millis(50));
TestServer {
addr,

View file

@ -705,9 +705,7 @@ where
let (system, server, addr) = rx.recv().unwrap();
// wait for server
while net::TcpStream::connect(addr).is_err() {
thread::sleep(std::time::Duration::from_millis(25));
}
thread::sleep(std::time::Duration::from_millis(50));
let client = {
let connector = {