Increase default negotiation timeout for netconf server to 30s
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / RaftActorContextImpl.java
index b71b3be3522e1082e46f56f681a0ee49440ab79d..6fc5e4369bb4879e1e8dd2ca01f92b98d5ec4ba4 100644 (file)
@@ -37,7 +37,7 @@ public class RaftActorContextImpl implements RaftActorContext {
 
     private final Logger LOG;
 
-    private final ConfigParams configParams;
+    private ConfigParams configParams;
 
     private boolean snapshotCaptureInitiated;
 
@@ -59,6 +59,10 @@ public class RaftActorContextImpl implements RaftActorContext {
         this.LOG = logger;
     }
 
+    void setConfigParams(ConfigParams configParams) {
+        this.configParams = configParams;
+    }
+
     @Override
     public ActorRef actorOf(Props props){
         return context.actorOf(props);