File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
scalanet/discovery/src/io/iohk/scalanet/discovery/ethereum/v4 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ trait ScalanetModule extends ScalaModule {
68
68
trait ScalanetPublishModule extends PublishModule {
69
69
def description : String
70
70
71
- override def publishVersion = " 0.4.1 -SNAPSHOT"
71
+ override def publishVersion = " 0.4.2 -SNAPSHOT"
72
72
73
73
override def pomSettings = PomSettings (
74
74
description = description,
Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ object DiscoveryService {
762
762
for {
763
763
_ <- Task (logger.debug(s " Bonding with ${neighbors.size} neighbors... " ))
764
764
bonded <- Task
765
- .parTraverseN(config.kademliaAlpha) (neighbors) { neighbor =>
765
+ .parTraverseUnordered (neighbors) { neighbor =>
766
766
bond(toPeer(neighbor)).flatMap {
767
767
case true =>
768
768
Task .pure(Some (neighbor))
@@ -837,7 +837,7 @@ object DiscoveryService {
837
837
nodeId <- stateRef.get.map(_.node.id)
838
838
bootstrapPeers = config.knownPeers.toList.map(toPeer).filterNot(_.id == nodeId)
839
839
_ <- Task (logger.info(s " Enrolling with ${bootstrapPeers.size} bootstrap nodes. " ))
840
- maybeBootstrapEnrs <- Task .parTraverseN(config.kademliaAlpha) (bootstrapPeers)(fetchEnr(_, delay = true ))
840
+ maybeBootstrapEnrs <- Task .parTraverseUnordered (bootstrapPeers)(fetchEnr(_, delay = true ))
841
841
enrolled = maybeBootstrapEnrs.count(_.isDefined)
842
842
succeeded = enrolled > 0
843
843
_ <- if (succeeded) {
You can’t perform that action at this time.
0 commit comments