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 af200deedc0667baa06a1f1335a20605938b18bb..aa689eddf20408af22793a6e70fcf76dca786090 100644 (file)
@@ -88,11 +88,26 @@ 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 {
       journal.plugin = akka.persistence.journal.leveldb
+
+      snapshot-store.local.class = "org.opendaylight.controller.cluster.persistence.LocalSnapshotStore"
       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