BUG-5280: synchronize access to local histories
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / resources / application.conf
index 8af9bd07d793cfb0eb0dae33414b6631d109e4a9..2449976a251b349a052638a697ba0ce8225d9c5b 100644 (file)
@@ -1,5 +1,13 @@
 
 odl-cluster-data {
+  bounded-mailbox {
+    mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
+    mailbox-capacity = 1000
+    mailbox-push-timeout-time = 100ms
+  }
+
+  metric-capture-enabled = true
+
   akka {
     loggers = ["akka.event.slf4j.Slf4jLogger"]
     cluster {
@@ -12,11 +20,12 @@ odl-cluster-data {
       serializers {
                 java = "akka.serialization.JavaSerializer"
                 proto = "akka.remote.serialization.ProtobufSerializer"
+                readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
               }
 
               serialization-bindings {
                   "com.google.protobuf.Message" = proto
-
+                  "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
               }
     }
     remote {
@@ -24,9 +33,9 @@ odl-cluster-data {
       netty.tcp {
         hostname = "127.0.0.1"
         port = 2550
-           maximum-frame-size = 419430400
-           send-buffer-size = 52428800
-           receive-buffer-size = 52428800
+        maximum-frame-size = 419430400
+        send-buffer-size = 52428800
+        receive-buffer-size = 52428800
       }
     }