aboutsummaryrefslogtreecommitdiffstats
path: root/messagebus
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-07-07 09:12:10 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-07-07 09:12:10 +0000
commit6c5fbad5e8051ff2d09f5fd1a9c2f6035e1084df (patch)
tree252686305bb0118ec147d53d91fc01589cec150c /messagebus
parentd458686d8ab70ce2bcd6e36fb39dab143da6b5e4 (diff)
GC unused numThreads too.
Diffstat (limited to 'messagebus')
-rw-r--r--messagebus/src/vespa/messagebus/network/rpcnetworkparams.cpp1
-rw-r--r--messagebus/src/vespa/messagebus/network/rpcnetworkparams.h14
2 files changed, 0 insertions, 15 deletions
diff --git a/messagebus/src/vespa/messagebus/network/rpcnetworkparams.cpp b/messagebus/src/vespa/messagebus/network/rpcnetworkparams.cpp
index 76dcb81919f..fc060b48fc2 100644
--- a/messagebus/src/vespa/messagebus/network/rpcnetworkparams.cpp
+++ b/messagebus/src/vespa/messagebus/network/rpcnetworkparams.cpp
@@ -15,7 +15,6 @@ RPCNetworkParams::RPCNetworkParams(config::ConfigUri configUri) :
_listenPort(0),
_maxInputBufferSize(256_Ki),
_maxOutputBufferSize(256_Ki),
- _numThreads(4),
_numNetworkThreads(1),
_numRpcTargets(1),
_events_before_wakeup(1),
diff --git a/messagebus/src/vespa/messagebus/network/rpcnetworkparams.h b/messagebus/src/vespa/messagebus/network/rpcnetworkparams.h
index 4837d58b42c..4a4d92ba797 100644
--- a/messagebus/src/vespa/messagebus/network/rpcnetworkparams.h
+++ b/messagebus/src/vespa/messagebus/network/rpcnetworkparams.h
@@ -19,7 +19,6 @@ private:
int _listenPort;
uint32_t _maxInputBufferSize;
uint32_t _maxOutputBufferSize;
- uint32_t _numThreads;
uint32_t _numNetworkThreads;
uint32_t _numRpcTargets;
uint32_t _events_before_wakeup;
@@ -111,19 +110,6 @@ public:
return *this;
}
- /**
- * Sets number of threads for the thread pool.
- *
- * @param numThreads number of threads for thread pool
- * @return This, to allow chaining.
- */
- RPCNetworkParams &setNumThreads(uint32_t numThreads) {
- _numThreads = numThreads;
- return *this;
- }
-
- uint32_t getNumThreads() const { return _numThreads; }
-
RPCNetworkParams &setTcpNoDelay(bool tcpNoDelay) {
_tcpNoDelay = tcpNoDelay;
return *this;