mirror of https://github.com/sbt/sbt.git
avoid deadlocks on spotty connections, fix https://github.com/sbt/sbt/issues/3738
This commit is contained in:
parent
01bb0bd7dd
commit
86c59d8f72
4
ivy/src/main/scala/sbt/internal/librarymanagement/ivyint/ParallelResolveEngine.scala
Normal file → Executable file
4
ivy/src/main/scala/sbt/internal/librarymanagement/ivyint/ParallelResolveEngine.scala
Normal file → Executable file
|
|
@ -38,7 +38,9 @@ private[sbt] class ParallelResolveEngine(settings: ResolveEngineSettings,
|
|||
val allDownloads = dependencies.par.flatMap { dep =>
|
||||
if (!(dep.isCompletelyEvicted || dep.hasProblem) &&
|
||||
dep.getModuleRevision != null) {
|
||||
ParArray(downloadNodeArtifacts(dep, artifactFilter, options))
|
||||
scala.concurrent.blocking {
|
||||
ParArray(downloadNodeArtifacts(dep, artifactFilter, options))
|
||||
}
|
||||
} else ParArray.empty[DownloadResult]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue