summaryrefslogtreecommitdiffstats
path: root/messagebus
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-02-24 20:32:13 +0100
committerGitHub <noreply@github.com>2022-02-24 20:32:13 +0100
commit94719c46c713f986a650910715e5847f5defa407 (patch)
treeaceaca6f4e3b590f43facda5e6462a11263771fc /messagebus
parenta2815ee7b7680c0387fc6ee907dd9f000fa197d5 (diff)
Revert "Revert "- Create the common transport and threadpool in the main loop.""
Diffstat (limited to 'messagebus')
-rw-r--r--messagebus/src/vespa/messagebus/network/rpcnetwork.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp b/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp
index c33f918a39c..0f7ebeb9a36 100644
--- a/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp
+++ b/messagebus/src/vespa/messagebus/network/rpcnetwork.cpp
@@ -80,9 +80,9 @@ struct TargetPoolTask : public FNET_Task {
}
};
-TransportConfig
+fnet::TransportConfig
toFNETConfig(const RPCNetworkParams & params) {
- return TransportConfig(params.getNumNetworkThreads())
+ return fnet::TransportConfig(params.getNumNetworkThreads())
.maxInputBufferSize(params.getMaxInputBufferSize())
.maxOutputBufferSize(params.getMaxOutputBufferSize())
.tcpNoDelay(params.getTcpNoDelay());