mirror of
https://github.com/sbt/sbt.git
synced 2026-09-08 03:09:49 +02:00
Shorter timeout
This commit is contained in:
@@ -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"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user