Merge "BUG 1853 : Clustered Data Store causes Out of Memory"
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / resources / application.conf
index aebff27c7dc0345864bfb8ecff9f5b30789ecf24..f0dadc618b2b4769b0240ff1c55567b28c924fb9 100644 (file)
@@ -1,4 +1,8 @@
 akka {
+    persistence.snapshot-store.plugin = "in-memory-snapshot-store"
+
+    loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
+
     actor {
          serializers {
                   java = "akka.serialization.JavaSerializer"
@@ -12,3 +16,16 @@ akka {
         }
     }
 }
+
+in-memory-snapshot-store {
+  # Class name of the plugin.
+  class = "org.opendaylight.controller.cluster.datastore.utils.InMemorySnapshotStore"
+  # Dispatcher for the plugin actor.
+  plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+}
+
+bounded-mailbox {
+  mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
+  mailbox-capacity = 1000
+  mailbox-push-timeout-time = 100ms
+}