Commit 1219a923 authored by Dominik Charousset's avatar Dominik Charousset

fixed scala benchmark

parent 79a1dfd8
...@@ -396,6 +396,7 @@ object DistributedServerApp { ...@@ -396,6 +396,7 @@ object DistributedServerApp {
case "akka" :: tail if tail.length < 2 => { case "akka" :: tail if tail.length < 2 => {
val system = ActorSystem(if (tail.isEmpty) "pongServer" else tail.head, ConfigFactory.load.getConfig("pongServer")) val system = ActorSystem(if (tail.isEmpty) "pongServer" else tail.head, ConfigFactory.load.getConfig("pongServer"))
val pong = system.actorOf(Props(new ServerAkkaActor(system)), "pong") val pong = system.actorOf(Props(new ServerAkkaActor(system)), "pong")
pong
} }
case "remote_actors" :: port :: Nil => { case "remote_actors" :: port :: Nil => {
(new ServerActor(port.toInt)).start (new ServerActor(port.toInt)).start
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment