diff --git a/Cargo.lock b/Cargo.lock index 4594a3d..f91dfbc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1023,9 +1023,9 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "vented" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b3526b3689e915e1545250137a9c06875736629ef2def374e78c9755ee32868" +checksum = "ceba019670b7fdbf21b35e63e2f31ef79804d6db20c2dc6529ec7da5bfc983ce" dependencies = [ "byteorder", "crossbeam-utils", diff --git a/Cargo.toml b/Cargo.toml index 960077f..9118eaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -vented = "0.3.1" +vented = "0.4.0" rusqlite = "0.24.1" rand = "0.7.3" base64 = "0.13.0" diff --git a/src/server/mod.rs b/src/server/mod.rs index c332507..30cb5a3 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -9,7 +9,7 @@ use std::collections::HashMap; use std::thread; use std::time::{Duration, Instant}; -const SERVER_TICK_RATE_MS: u64 = 1; +const SERVER_TICK_RATE_MS: u64 = 10; pub struct SnekcloudServer { inner: VentedServer,