summaryrefslogtreecommitdiffstats
path: root/src/client/net/serverconnection.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2015-05-11 16:56:10 +0200
committerJonathan Bauer2015-05-11 16:56:10 +0200
commitdaae789d4ef33ba92bbd0396e7810f0881865ff4 (patch)
tree826b42afb49da3dd6acec9e71f9ffeca084d479c /src/client/net/serverconnection.cpp
parent[server] reset timeouts to normal intervals (diff)
downloadpvs2-daae789d4ef33ba92bbd0396e7810f0881865ff4.tar.gz
pvs2-daae789d4ef33ba92bbd0396e7810f0881865ff4.tar.xz
pvs2-daae789d4ef33ba92bbd0396e7810f0881865ff4.zip
[client] reset timeouts to normal intervals
Diffstat (limited to 'src/client/net/serverconnection.cpp')
-rw-r--r--src/client/net/serverconnection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/net/serverconnection.cpp b/src/client/net/serverconnection.cpp
index c81bfb4..17074b2 100644
--- a/src/client/net/serverconnection.cpp
+++ b/src/client/net/serverconnection.cpp
@@ -34,9 +34,9 @@ ServerConnection::ServerConnection(const QString& host, const quint16 port, cons
);
qDebug("Connecting to %s on port %d", host.toUtf8().data(), (int)port);
_socket->connectToHostEncrypted(host, port);
- _timerId = startTimer(600000);// TODO(manuel): Debuging purposes
+ _timerId = startTimer(4000);
_lastData = QDateTime::currentMSecsSinceEpoch() + PING_TIMEOUT_MS;
- _timerConnectionCheck = startTimer(600000);// TODO(manuel): Debuging purposes
+ _timerConnectionCheck = startTimer(5000);
// Connect the vnc start/stop signal to this class, so we can tell the server about successful vnc server startup
connect(VncServer::instance(), SIGNAL(started(int, QString&, QString&)), this, SLOT(onVncServerStartStop(int, QString&, QString&)));
}