Fixed Octave Hang after large dataset writes

https://github.com/OPM/ResInsight/issues/192
This commit is contained in:
Jacob Støren
2014-06-30 12:00:41 +02:00
parent 076601e0e5
commit 82e97da553
3 changed files with 5 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ void setEclipseProperty(const NDArray& propertyFrames, const QString &hostName,
while(socket.bytesToWrite() && socket.state() == QAbstractSocket::ConnectedState)
{
// octave_stdout << "Bytes to write: " << socket.bytesToWrite() << std::endl << std::flush;
socket.waitForBytesWritten(riOctavePlugin::longTimeOutMilliSecs);
socket.waitForBytesWritten(riOctavePlugin::shortTimeOutMilliSecs);
OCTAVE_QUIT;
}