Skip to content

Commit

Permalink
try increasing the wait_till_connected timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocynicys committed Sep 3, 2024
1 parent eb7941c commit b10e623
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ impl ConnectionManager {
return Ok(());
}
Timer::sleep(0.5).await;
if start_time.elapsed().as_secs_f32() > timeout {
if start_time.elapsed().as_secs_f32() > timeout * 100 {
println!("timed out not connected");
return Err(format!(
"Waited for {} seconds but the connection manager is still not connected",
Expand Down

0 comments on commit b10e623

Please sign in to comment.