Change client send-ping timer back to 1sec

9sec was causing too many timeout issues.

Timeout from both client and server perspective needs to be revisited
This commit is contained in:
Gavin Bisesi
2014-07-09 19:06:31 -04:00
parent 52827573b0
commit 86fa8f304d

View File

@@ -15,7 +15,7 @@ RemoteClient::RemoteClient(QObject *parent)
: AbstractClient(parent), timeRunning(0), lastDataReceived(0), messageInProgress(false), handshakeStarted(false), messageLength(0)
{
timer = new QTimer(this);
timer->setInterval(9000);
timer->setInterval(1000);
connect(timer, SIGNAL(timeout()), this, SLOT(ping()));
socket = new QTcpSocket(this);