mirror of https://github.com/sbt/sbt.git
Wait 5 seconds instead of 2 seconds to read stderr from launched server
This commit is contained in:
parent
e53acb673b
commit
63d9b638c3
|
|
@ -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
|
// just wait a couple seconds to read more stuff if there is
|
||||||
// any stuff.
|
// any stuff.
|
||||||
if (waitForErrors) {
|
if (waitForErrors) {
|
||||||
endTime.set(System.currentTimeMillis + 2000)
|
endTime.set(System.currentTimeMillis + 5000)
|
||||||
// at this point we'd rather the dumper thread run
|
// at this point we'd rather the dumper thread run
|
||||||
// before we check whether to sleep
|
// before we check whether to sleep
|
||||||
Thread.`yield`()
|
Thread.`yield`()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue