longer delay

This commit is contained in:
Adam 2024-04-27 00:28:40 -04:00
parent 3e33d73cda
commit cdd3bbea93

View file

@ -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)