This commit is contained in:
Henrik Engstrom 2011-12-10 10:53:38 +01:00
parent 90b6833978
commit 11450ca4e0
5 changed files with 9 additions and 5 deletions

View file

@ -107,7 +107,7 @@ object Pi extends App {
// ===== Run it =====
// ==================
def calculate(nrOfWorkers: Int, nrOfElements: Int, nrOfMessages: Int) {
val system = ActorSystem("x", ConfigFactory.parseString("akka.actor.debug.lifecycle=true\nakka.loglevel=DEBUG"))
val system = ActorSystem()
// this latch is only plumbing to know when the calculation is completed
val latch = new CountDownLatch(1)