make default socket timeout 5 seconds, not 20.

This commit is contained in:
Eric House 2011-03-31 18:13:16 -07:00
parent c30dd905a2
commit 7aeb0a4df0
2 changed files with 3 additions and 3 deletions

View file

@ -26,8 +26,8 @@ GAME_PORTS=10997
# What ports do we listen on for per-device incoming connections?
DEVICE_PORTS=10998
# default 20
SOCK_TIMEOUT_SECONDS=20
# default 5
SOCK_TIMEOUT_SECONDS=5
# And the control port is?
CTLPORT=11000

View file

@ -850,7 +850,7 @@ set_timeouts( int sock )
struct timeval tv;
int result;
int timeout = 20;
int timeout = 5;
(void)RelayConfigs::GetConfigs()->GetValueFor( "SOCK_TIMEOUT_SECONDS",
&timeout );