Fix heartbeat/idle timer confusion 55/104655/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 1 Mar 2023 12:29:25 +0000 (13:29 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 1 Mar 2023 12:30:23 +0000 (13:30 +0100)
The two parameters are interchanged, make sure we pass the right thing
down.

JIRA: NETCONF-970
Change-Id: Ibd2a370f6fa0864026fee450383dd752d0821669
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/JaxRsNorthbound.java

index afd17c770e03c996d73813e086c2ce82e45f7126..f5a10462ab31b91b84a643f92fdd493fedfa3053 100644 (file)
@@ -83,8 +83,8 @@ public final class JaxRsNorthbound implements AutoCloseable {
         this(webServer, webContextSecurer, servletSupport, filterAdapterConfiguration, actionService, dataBroker,
             mountPointService, notificationService, rpcService, schemaService, databindProvider,
             configuration.ping$_$executor$_$name$_$prefix(), configuration.max$_$thread$_$count(),
-            new StreamsConfiguration(configuration.maximum$_$fragment$_$length(), configuration.heartbeat$_$interval(),
-                configuration.idle$_$timeout(), configuration.use$_$sse()));
+            new StreamsConfiguration(configuration.maximum$_$fragment$_$length(), configuration.idle$_$timeout(),
+                configuration.heartbeat$_$interval(), configuration.use$_$sse()));
     }
 
     public JaxRsNorthbound(final WebServer webServer, final WebContextSecurer webContextSecurer,