Add a TODO regarding the future plan for the connection timeout setting.

This commit is contained in:
Shane Handley 2019-10-27 04:42:28 +09:00 committed by timokoesters
parent f7cfcc5394
commit 4df7e95331
No known key found for this signature in database
GPG Key ID: CD80BE9AAEE78097

View File

@ -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