aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-31 17:32:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-31 17:32:11 +0200
commit4e28e9df3c08af96bf6639c6f90e09819eb9a90f (patch)
tree00760a267faa190d846a2883d2fa3fb3ba0e6631
parentc7ec29b2d6a66700933ede6ae2371e1d54744d67 (diff)
Increase MSYS2 BLODA wait time
-rw-r--r--libbutl/process.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/process.cxx b/libbutl/process.cxx
index 53a333f..265c775 100644
--- a/libbutl/process.cxx
+++ b/libbutl/process.cxx
@@ -1280,7 +1280,7 @@ namespace butl
msys = i->second;
}
- for (DWORD timeout (10000); timeout != 0; ) // Try for about 10s.
+ for (DWORD timeout (10500); timeout != 0; ) // Try for about 10s.
{
if (!CreateProcess (
batch != nullptr ? batch : pp.effect_string (),
@@ -1311,7 +1311,7 @@ namespace butl
// Wait in small increments to get (approximate) time elapsed.
//
- for (size_t i (0); i != 4; ++i, timeout -= 50) // 4 * 50 = 200ms.
+ for (size_t i (0); i != 6; ++i, timeout -= 50) // 6 * 50 = 300ms.
{
r = WaitForSingleObject (pi.hProcess, 50);