aboutsummaryrefslogtreecommitdiffstats
path: root/messagebus
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-02-24 12:50:31 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-02-24 12:50:31 +0000
commit9d8de3b985984987a4eae67e5d6d3a3fbdfc7efa (patch)
tree70eeb1abeaa1fd22dbfd8ed5f07409f643cc6a9d /messagebus
parent4ed0d2b6f00c82bc3ba8a3290576a7bedfdd1895 (diff)
- Create the common transport and threadpool in the main loop.
- Also use the common transport for config subscriptions. - Put The TransportConfig in the fnet namespace.
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());