kopia lustrzana https://gitlab.com/eliggett/wfview
Update udpserver.cpp
rodzic
013df134f9
commit
9fe71b4495
|
@ -1239,12 +1239,11 @@ void udpServer::watchdog(QList<CLIENT*>* l, CLIENT* c)
|
|||
{
|
||||
QDateTime now = QDateTime::currentDateTime();
|
||||
|
||||
emit haveNetworkStatus(QString("<pre>Server connections: Control:%1 CI-V:%2 Audio:%3</pre>").arg(controlClients.size()).arg(civClients.size()).arg(audioClients.size()));
|
||||
|
||||
if (c->lastHeard.secsTo(now) > STALE_CONNECTION)
|
||||
{
|
||||
qInfo(logUdpServer()) << c->ipAddress.toString() << "(" << c->type << "): Deleting stale connection ";
|
||||
deleteConnection(l, c);
|
||||
emit haveNetworkStatus(QString("<pre>Server connections: Control:%1 CI-V:%2 Audio:%3</pre>").arg(controlClients.size()).arg(civClients.size()).arg(audioClients.size()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue