mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Change timeout to 20s
Former-commit-id: dca0d08a06c27259cdaaf0138024f53c6c93d94e
This commit is contained in:
parent
786dc16092
commit
1ae18fecf8
@ -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),
|
||||||
|
@ -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 },
|
||||||
|
Loading…
Reference in New Issue
Block a user