BUG 8318: Add a separate dispatcher for cluster actors
[controller.git] / opendaylight / md-sal / sal-clustering-config / src / main / resources / initial / factory-akka.conf
index a9591f1a77c11800ef0e8063d1e8d3d53ec57c63..aa689eddf20408af22793a6e70fcf76dca786090 100644 (file)
@@ -88,6 +88,10 @@ odl-cluster-data {
       #auto-down-unreachable-after = 30s
 
       allow-weakly-up-members = on
+
+      use-dispatcher = cluster-dispatcher
+
+      failure-detector.acceptable-heartbeat-pause = 3 s
     }
 
     persistence {
@@ -97,4 +101,13 @@ odl-cluster-data {
       snapshot-store.plugin = akka.persistence.snapshot-store.local
     }
   }
-}
+
+  cluster-dispatcher {
+    type = "Dispatcher"
+    executor = "fork-join-executor"
+    fork-join-executor {
+      parallelism-min = 2
+      parallelism-max = 4
+    }
+  }
+}
\ No newline at end of file