diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-08-25 10:47:35 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-08-25 10:47:35 +0000 |
commit | cf7e3983022e917eca1f5c3526c1726675c8fa5d (patch) | |
tree | 2ccc958e4ae6ea39e241bebcdbd9b31c0f4b1970 /storage | |
parent | bf81a11f33d4c687e6446b67b1e26a67c1bd59b7 (diff) |
Require DocumentAPI capabilities for content node doc API mbus calls
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/vespa/storage/storageserver/communicationmanager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/src/vespa/storage/storageserver/communicationmanager.cpp b/storage/src/vespa/storage/storageserver/communicationmanager.cpp index 7fb6685a8b5..621f8a2ecc0 100644 --- a/storage/src/vespa/storage/storageserver/communicationmanager.cpp +++ b/storage/src/vespa/storage/storageserver/communicationmanager.cpp @@ -356,6 +356,9 @@ void CommunicationManager::configure(std::unique_ptr<CommunicationManagerConfig> params.setNumRpcTargets(std::max(1, config->mbus.numRpcTargets)); params.events_before_wakeup(std::max(1, config->mbus.eventsBeforeWakeup)); params.setTcpNoDelay(config->mbus.tcpNoDelay); + params.required_capabilities(vespalib::net::tls::CapabilitySet::of({ + vespalib::net::tls::Capability::content_document_api() + })); params.setIdentity(mbus::Identity(_component.getIdentity())); if (config->mbusport != -1) { |