.env, docs, performance, project name #2

Merged
vanten-s merged 9 commits from dev-laptop into main 2023-10-15 13:29:24 +02:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 72945e8b94 - Show all commits

View file

@ -36,9 +36,9 @@ pub fn listen_to_client(tx: mpsc::Sender<String>, rx: mpsc::Receiver<String>, po
}
Err(_e) => {}
}
thread::sleep(Duration::from_micros(100));
}
let _ = tx.send(String::from_utf8_lossy(&buffer).to_string());
thread::sleep(Duration::from_millis(100));
}
}

View file

@ -103,6 +103,6 @@ fn main() -> Result<()> {
},
};
thread::sleep(Duration::from_millis(100));
thread::sleep(Duration::from_millis(1));
}
}

View file

@ -51,9 +51,9 @@ pub fn write_to_server(
Ok(_) => {}
Err(_e) => println!("Couldn't send {value}"),
};
thread::sleep(Duration::from_micros(100));
}
let _ = tx.send(dbg!(String::from_utf8_lossy(&buffer).to_string()));
thread::sleep(Duration::from_millis(100));
}
}