ticket #889 some cleanup

This commit is contained in:
Peter Veentjer 2011-08-01 09:01:15 +03:00
parent 3dc1280768
commit 43031cb94b
8 changed files with 27 additions and 27 deletions

View file

@ -55,7 +55,7 @@ object Pi extends App {
val workers = Vector.fill(nrOfWorkers)(actorOf[Worker].start())
// wrap them with a load-balancing router
val router = Routing.newRoundRobinActorRef("pi", workers)
val router = Routing.actorOfWithRoundRobin("pi", workers)
// message handler
def receive = {