mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-14 08:01:38 +01:00
make default socket timeout 5 seconds, not 20.
This commit is contained in:
parent
c30dd905a2
commit
7aeb0a4df0
2 changed files with 3 additions and 3 deletions
|
@ -26,8 +26,8 @@ GAME_PORTS=10997
|
||||||
# What ports do we listen on for per-device incoming connections?
|
# What ports do we listen on for per-device incoming connections?
|
||||||
DEVICE_PORTS=10998
|
DEVICE_PORTS=10998
|
||||||
|
|
||||||
# default 20
|
# default 5
|
||||||
SOCK_TIMEOUT_SECONDS=20
|
SOCK_TIMEOUT_SECONDS=5
|
||||||
|
|
||||||
# And the control port is?
|
# And the control port is?
|
||||||
CTLPORT=11000
|
CTLPORT=11000
|
||||||
|
|
|
@ -850,7 +850,7 @@ set_timeouts( int sock )
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
int timeout = 20;
|
int timeout = 5;
|
||||||
(void)RelayConfigs::GetConfigs()->GetValueFor( "SOCK_TIMEOUT_SECONDS",
|
(void)RelayConfigs::GetConfigs()->GetValueFor( "SOCK_TIMEOUT_SECONDS",
|
||||||
&timeout );
|
&timeout );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue