Skip to content

Commit 4defcda

Browse files
committed
Add specific dispatcher for cluster operations
1 parent 3bba496 commit 4defcda

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

cluster/src/main/resources/application.conf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ akka {
3333

3434
metrics.enabled = off
3535

36+
use-dispatcher = cluster-dispatcher
37+
38+
auto-down-unreachable-after = off
39+
3640
}
3741

3842
extensions = ["de.heikoseeberger.constructr.ConstructrExtension"]
@@ -64,3 +68,12 @@ clustering {
6468
port = ${?APP_PORT}
6569
}
6670

71+
cluster-dispatcher {
72+
type = "Dispatcher"
73+
executor = "fork-join-executor"
74+
fork-join-executor {
75+
parallelism-min = 2
76+
parallelism-max = 4
77+
}
78+
}
79+

0 commit comments

Comments
 (0)