From c124f9fff690a42ea5fb490e4c7e512ba8448951 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Thu, 13 Jun 2024 16:54:35 +0200 Subject: cargo update + `time` update, fix for `Instant` deprecation --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index bfb28be..7c91c08 100644 --- a/src/config.rs +++ b/src/config.rs @@ -7,7 +7,7 @@ use crate::auth; pub struct Config { pub serveraddr: String, pub pingtimeout: i64, - pub pingthreshold: i64, + pub pingthreshold: u64, pub timeoffset: i8, pub auth: Auth, } -- cgit v1.2.3