Quicker ReflectorLogic reconnect
This commit is contained in:
parent
89b8a693b9
commit
01ce4a72dd
|
|
@ -445,6 +445,7 @@ void ReflectorLogic::onDisconnected(TcpConnection *con,
|
|||
cout << name() << ": Disconnected from " << m_con->remoteHost() << ":"
|
||||
<< m_con->remotePort() << ": "
|
||||
<< TcpConnection::disconnectReasonStr(reason) << endl;
|
||||
m_reconnect_timer.setTimeout(1000 + 5000 * std::rand() / RAND_MAX);
|
||||
m_reconnect_timer.setEnable(true);
|
||||
delete m_udp_sock;
|
||||
m_udp_sock = 0;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ LIBECHOLIB=1.3.3
|
|||
LIBASYNC=1.6.0.99.2-reflector_tg
|
||||
|
||||
# SvxLink versions
|
||||
SVXLINK=1.7.99.5-reflector_tg
|
||||
SVXLINK=1.7.99.6-reflector_tg
|
||||
MODULE_HELP=1.0.0
|
||||
MODULE_PARROT=1.1.1
|
||||
MODULE_ECHO_LINK=1.5.0
|
||||
|
|
|
|||
Loading…
Reference in New Issue