Added failure detection to clustered and local routing.
Still not turned on since need deployment config support first. Also refactored current routing quite a lot. Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
This commit is contained in:
parent
aabb5ff7ad
commit
e0385e5203
11 changed files with 525 additions and 411 deletions
|
|
@ -60,7 +60,7 @@ object Pi extends App {
|
|||
// wrap them with a load-balancing router
|
||||
val router = Routing.actorOf(
|
||||
RoutedProps.default
|
||||
.withRoundRobinRouter()
|
||||
.withRoundRobinRouter
|
||||
.withConnections(workers)
|
||||
.withDeployId("pi"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue