Change timeout to 20s

Former-commit-id: dca0d08a06c27259cdaaf0138024f53c6c93d94e
This commit is contained in:
timokoesters 2019-04-17 16:46:04 +02:00
parent 786dc16092
commit 1ae18fecf8
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ use common::{
msg::{ClientMsg, ServerMsg}, msg::{ClientMsg, ServerMsg},
}; };
const SERVER_TIMEOUT: f64 = 5.0; // Seconds const SERVER_TIMEOUT: f64 = 20.0; // Seconds
pub enum Event { pub enum Event {
Chat(String), Chat(String),

View File

@ -25,7 +25,7 @@ use threadpool::ThreadPool;
use vek::*; use vek::*;
use world::World; use world::World;
const CLIENT_TIMEOUT: f64 = 5.0; // Seconds const CLIENT_TIMEOUT: f64 = 20.0; // Seconds
pub enum Event { pub enum Event {
ClientConnected { entity: EcsEntity }, ClientConnected { entity: EcsEntity },