From 826298831ddc8c4dd094065b9c09802694724220 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Tue, 11 Jan 2011 18:46:41 +0000 Subject: [PATCH] When getting packages via miktex 3 minutes is to short for the timeout. 30 minutes should be enough, also for very big documents. #7228 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37176 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/Systemcall.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp index a563c13ce7..5713294055 100644 --- a/src/support/Systemcall.cpp +++ b/src/support/Systemcall.cpp @@ -225,7 +225,8 @@ int Systemcall::startscript(Starttype how, string const & what, bool process_eve return 0; } - if (!d.waitWhile(SystemcallPrivate::Running, process_events, 180000)) { + int timeout_min = 30; + if (!d.waitWhile(SystemcallPrivate::Running, process_events, timeout_min * 60 * 1000)) { LYXERR0("Systemcall: '" << cmd << "' did not finish!"); LYXERR0("error " << d.errorMessage()); LYXERR0("status " << d.exitStatusMessage()); -- 2.39.5