Author: kuemmel
Date: Tue Jan 11 19:46:41 2011
New Revision: 37176
URL: http://www.lyx.org/trac/changeset/37176
Log:
When getting packages via miktex 3 minutes is to short for
the timeout. 30 minutes should be enough, also for very big documents.
#7228
Modified:
lyx-devel/trunk/src/support/Systemcall.cpp
Modified: lyx-devel/trunk/src/support/Systemcall.cpp
==============================================================================
--- lyx-devel/trunk/src/support/Systemcall.cpp Tue Jan 11 00:28:52 2011
(r37175)
+++ lyx-devel/trunk/src/support/Systemcall.cpp Tue Jan 11 19:46:41 2011
(r37176)
@@ -225,7 +225,8 @@
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());