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]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// 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()
.nth(1)