From 86fa8f304da8ef07a128a8549b22e6aea8fa2aa3 Mon Sep 17 00:00:00 2001 From: Gavin Bisesi Date: Wed, 9 Jul 2014 19:06:31 -0400 Subject: [PATCH] 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 --- cockatrice/src/remoteclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/remoteclient.cpp b/cockatrice/src/remoteclient.cpp index e0d3d8604..4f8deaed6 100644 --- a/cockatrice/src/remoteclient.cpp +++ b/cockatrice/src/remoteclient.cpp @@ -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);