Octave: Use long timeout (60 s) for all socket data transfer, as socket

data transfer is dependent on several layers of network optimizations.
This commit is contained in:
Magne Sjaastad
2013-09-30 20:54:31 +02:00
parent 567f16ad43
commit 2372cf86ca
21 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ void setEclipseProperty(const NDArray& propertyFrames, const QString &hostName,
QTcpSocket socket;
socket.connectToHost(hostName, port);
if (!socket.waitForConnected(riOctavePlugin::shortTimeOutMilliSecs))
if (!socket.waitForConnected(riOctavePlugin::connectTimeOutMilliSecs))
{
error((("Connection: ") + socket.errorString()).toLatin1().data());
return;