Merge master into tame-globals branch
This commit is contained in:
commit
317b8bc03b
60 changed files with 2079 additions and 1696 deletions
|
|
@ -71,7 +71,7 @@ object Pi extends App {
|
|||
val workers = Vector.fill(nrOfWorkers)(app.createActor[Worker])
|
||||
|
||||
// wrap them with a load-balancing router
|
||||
val router = app.routing.actorOf(RoutedProps().withRoundRobinRouter.withConnections(workers), "pi")
|
||||
val router = app.createActor(RoutedProps().withRoundRobinRouter.withLocalConnections(workers), "pi")
|
||||
//#create-workers
|
||||
|
||||
//#master-receive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue