clarify intent

This commit is contained in:
OlegYch 2018-01-18 18:27:03 +03:00 committed by Dale Wijnand
parent 86c59d8f72
commit d267b6fda5
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ private[sbt] class ParallelResolveEngine(settings: ResolveEngineSettings,
val allDownloads = dependencies.par.flatMap { dep =>
if (!(dep.isCompletelyEvicted || dep.hasProblem) &&
dep.getModuleRevision != null) {
//don't block in global ec to avoid deadlocks
scala.concurrent.blocking {
ParArray(downloadNodeArtifacts(dep, artifactFilter, options))
}