summaryrefslogtreecommitdiffstats
path: root/messagebus/src
diff options
context:
space:
mode:
Diffstat (limited to 'messagebus/src')
-rw-r--r--messagebus/src/vespa/messagebus/network/rpcnetwork.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp b/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp
index c286b056ae2..9ecc57fd9de 100644
--- a/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp
+++ b/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp
@@ -81,9 +81,10 @@ struct TargetPoolTask : public FNET_Task {
TransportConfig
toFNETConfig(const RPCNetworkParams & params) {
- return TransportConfig().config(FNET_Config().maxInputBufferSize(params.getMaxInputBufferSize())
- .maxOutputBufferSize(params.getMaxOutputBufferSize())
- .tcpNoDelay(params.getTcpNoDelay()));
+ return TransportConfig()
+ .maxInputBufferSize(params.getMaxInputBufferSize())
+ .maxOutputBufferSize(params.getMaxOutputBufferSize())
+ .tcpNoDelay(params.getTcpNoDelay());
}
}