Wait 5 seconds instead of 2 seconds to read stderr from launched server

This commit is contained in:
Havoc Pennington 2014-06-05 11:07:37 -04:00
parent e53acb673b
commit 63d9b638c3
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class StreamDumper(in: java.io.BufferedReader, out: java.io.PrintStream) extends
// just wait a couple seconds to read more stuff if there is
// any stuff.
if (waitForErrors) {
endTime.set(System.currentTimeMillis + 2000)
endTime.set(System.currentTimeMillis + 5000)
// at this point we'd rather the dumper thread run
// before we check whether to sleep
Thread.`yield`()