mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add a TODO regarding the future plan for the connection timeout setting.
This commit is contained in:
parent
f7cfcc5394
commit
4df7e95331
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user