longer delay
This commit is contained in:
parent
3e33d73cda
commit
cdd3bbea93
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ async fn read_stdin(tx: futures_channel::mpsc::UnboundedSender<Message>) {
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
// sleep to avoid racing the server on startup when using cargo watch
|
// sleep to avoid racing the server on startup when using cargo watch
|
||||||
sleep(Duration::from_millis(200)).await;
|
sleep(Duration::from_millis(500)).await;
|
||||||
|
|
||||||
let connect_addr = env::args()
|
let connect_addr = env::args()
|
||||||
.nth(1)
|
.nth(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue