Merge branch 'xMAC94x/hotfix_increase_timeout' into 'master'

tmp increase TIMEOUT from 20s to 40s.

See merge request veloren/veloren!1352
This commit is contained in:
Joshua Barretto 2020-09-06 17:54:59 +00:00
commit b87bbaff0b
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ use vek::*;
// The duration of network inactivity until the player is kicked
// @TODO: in the future, this should be configurable on the server
// and be provided to the client
const SERVER_TIMEOUT: f64 = 20.0;
const SERVER_TIMEOUT: f64 = 40.0;
// After this duration has elapsed, the user will begin getting kick warnings in
// their chat window

View File

@ -70,7 +70,7 @@ use world::{
#[macro_use] extern crate diesel;
#[macro_use] extern crate diesel_migrations;
const CLIENT_TIMEOUT: f64 = 20.0; // Seconds
const CLIENT_TIMEOUT: f64 = 40.0; // Seconds
#[derive(Copy, Clone)]
struct SpawnPoint(Vec3<f32>);