Bug 4823: Offload generation of DCNs from Shard
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / DistributedDataStore.java
index 4b2013cd287bd4a91d4e6aa06bf61a1402328ca2..d31217042aa7f65e801b6a1d7dbc82d89e47ccbc 100644 (file)
@@ -239,7 +239,7 @@ public class DistributedDataStore implements DOMStore, SchemaContextListener,
         for(int i=0;i<100;i++) {
             try {
                 return actorSystem.actorOf(builder.props().withDispatcher(shardDispatcher).withMailbox(
-                        ActorContext.MAILBOX), shardManagerId);
+                        ActorContext.BOUNDED_MAILBOX), shardManagerId);
             } catch (Exception e){
                 lastException = e;
                 Uninterruptibles.sleepUninterruptibly(100, TimeUnit.MILLISECONDS);