From 4df7e9533135387ef0055dbe72f2510317de5afe Mon Sep 17 00:00:00 2001 From: Shane Handley Date: Sun, 27 Oct 2019 04:42:28 +0900 Subject: [PATCH] Add a TODO regarding the future plan for the connection timeout setting. --- client/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/lib.rs b/client/src/lib.rs index 460c19e170..170a23c42b 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -31,6 +31,7 @@ use uvth::{ThreadPool, ThreadPoolBuilder}; use vek::*; // The duration of network inactivity until the player is kicked to the main menu +// @TODO in the future, this should be configurable on the server, and be provided to the client const SERVER_TIMEOUT: Duration = Duration::from_secs(20); // After this duration has elapsed, the user will begin getting kick warnings in their chat window