fix lag
This commit is contained in:
parent
3de2d10f90
commit
310c018d0c
|
@ -0,0 +1,5 @@
|
|||
# Changelog
|
||||
|
||||
## 0.3.0
|
||||
|
||||
- Rewrite using async rust
|
|
@ -58,7 +58,7 @@ checksum = "130aac562c0dd69c56b3b1cc8ffd2e17be31d0b6c25b61c96b76231aa23e39e1"
|
|||
|
||||
[[package]]
|
||||
name = "cabytcini"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"chrono",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "cabytcini"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
authors = ["Christine Dodrill <me@christine.website>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
|
|
@ -38,7 +38,7 @@ fn handle_client(stream: UnixStream, st: MTState) {
|
|||
stream.shutdown(Shutdown::Both).expect("socket to close");
|
||||
}
|
||||
|
||||
const UPDATE_FREQUENCY: u64 = 250;
|
||||
const UPDATE_FREQUENCY: u64 = 1000;
|
||||
|
||||
fn update_every_so_often(st: MTState) {
|
||||
loop {
|
||||
|
|
Loading…
Reference in New Issue