longer delay

This commit is contained in:
Adam 2024-04-27 00:49:23 -04:00
parent cdd3bbea93
commit ac6604a5a5

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(500)).await;
sleep(Duration::from_millis(1000)).await;
let connect_addr = env::args()
.nth(1)