Skip to content

Commit

Permalink
Merge pull request #1885 from dedis/release-remove-peers-connection
Browse files Browse the repository at this point in the history
[TEST_RELEASE} remove heartbeat and connection to peers for manual testing purposes
  • Loading branch information
DanielTavaresA authored May 23, 2024
2 parents cbd31e9 + 6c83e96 commit a59cfef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ final case class ConnectionMediator(
Right(JsonRpcRequest(
RpcValidator.JSON_RPC_VERSION,
MethodType.heartbeat,
new ParamsWithMap(map),
new ParamsWithMap(Map.empty), // new ParamsWithMap(map),
None
))
)
Expand Down
2 changes: 1 addition & 1 deletion be2-scala/src/main/scala/ch/epfl/pop/storage/DbActor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ final case class DbActor(

val askAddresses = Await.ready(connectionMediator ? ConnectionMediator.ReadPeersClientAddress(), duration).value.get
val addresses = askAddresses match {
case Success(ConnectionMediator.ReadPeersClientAddressAck(result)) => result
case Success(ConnectionMediator.ReadPeersClientAddressAck(result)) => List.empty // result
case _ => List.empty
}

Expand Down

0 comments on commit a59cfef

Please sign in to comment.