mirror of https://github.com/sbt/sbt.git
Shorter timeout
This commit is contained in:
parent
830a81c651
commit
13cbbf6fbd
|
|
@ -25,7 +25,7 @@ object Remote {
|
|||
js.Dynamic.newInstance(xhr)().asInstanceOf[XMLHttpRequest]
|
||||
|
||||
def fetchTimeout(target: String, p: Promise[_]) =
|
||||
setTimeout(10000) {
|
||||
setTimeout(5000) {
|
||||
if (!p.isCompleted) {
|
||||
p.failure(new Exception(s"Timeout when fetching $target"))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue