mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Changed config variable to be cluster specific
This commit is contained in:
parent
796acdd259
commit
fcf6fd5be8
@ -194,8 +194,8 @@ class DisplayConnection:
|
|||||||
def __init__(self,qcm,serverName,port,msgHandler):
|
def __init__(self,qcm,serverName,port,msgHandler):
|
||||||
self.msgHandler = msgHandler
|
self.msgHandler = msgHandler
|
||||||
gameServerTimeoutMs = base.config.GetInt(
|
gameServerTimeoutMs = base.config.GetInt(
|
||||||
"game-server-timeout-ms", 20000)
|
"cluster-server-timeout-ms", 300000)
|
||||||
# A big old 20 second timeout.
|
# A giant 300 second timeout.
|
||||||
self.tcpConn = qcm.openTCPClientConnection(
|
self.tcpConn = qcm.openTCPClientConnection(
|
||||||
serverName, port, gameServerTimeoutMs)
|
serverName, port, gameServerTimeoutMs)
|
||||||
# Test for bad connection
|
# Test for bad connection
|
||||||
|
Loading…
x
Reference in New Issue
Block a user