ticket #889 some cleanup
This commit is contained in:
parent
3dc1280768
commit
43031cb94b
8 changed files with 27 additions and 27 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue