forked from qt-creator/qt-creator
Utils: Make SynchronousProcess use second based timeouts
Change-Id: Ie2de2359225017cae7181bee0df17542fa36efd8 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Tobias Hunger
parent
5a2b5036ab
commit
a79df8e1e7
@@ -709,7 +709,7 @@ bool VcsBaseSubmitEditor::runSubmitMessageCheckScript(const QString &checkScript
|
||||
}
|
||||
QByteArray stdOutData;
|
||||
QByteArray stdErrData;
|
||||
if (!SynchronousProcess::readDataFromProcess(checkProcess, 30000, &stdOutData, &stdErrData, false)) {
|
||||
if (!SynchronousProcess::readDataFromProcess(checkProcess, 30, &stdOutData, &stdErrData, false)) {
|
||||
SynchronousProcess::stopProcess(checkProcess);
|
||||
*errorMessage = tr("The check script \"%1\" timed out.").
|
||||
arg(QDir::toNativeSeparators(checkScript));
|
||||
|
||||
Reference in New Issue
Block a user