[lib] Perform delete operations in parallel (#223)

This commit is contained in:
Paul Campbell 2019-10-03 12:01:05 +01:00 committed by GitHub
parent 61231b8e97
commit 86a22215cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,10 @@ object LocalFileSystem extends LocalFileSystem {
actionCounter,
bytesCounter,
eventsRef)
_ <- MessageChannel.pointToPoint(keySender)(keyReceiver).runDrain
parallel <- Config.parallel
_ <- MessageChannel
.pointToPointPar(parallel)(keySender)(keyReceiver)
.runDrain
events <- eventsRef.get
} yield events