From ea5bcc0b32d3e40a58ca913a8ad477d573f8b0c3 Mon Sep 17 00:00:00 2001 From: dorjesinpo <129227380+dorjesinpo@users.noreply.github.com> Date: Mon, 15 Jul 2024 16:04:01 -0400 Subject: [PATCH] removing erroneous ntc settings (#359) Signed-off-by: dorjesinpo <129227380+dorjesinpo@users.noreply.github.com> --- src/groups/bmq/bmqimp/bmqimp_application.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/groups/bmq/bmqimp/bmqimp_application.cpp b/src/groups/bmq/bmqimp/bmqimp_application.cpp index 6058751070..dc55cce67a 100644 --- a/src/groups/bmq/bmqimp/bmqimp_application.cpp +++ b/src/groups/bmq/bmqimp/bmqimp_application.cpp @@ -112,8 +112,6 @@ ntca::InterfaceConfig ntcCreateInterfaceConfig(const bmqt::SessionOptions& sessionOptions, bslma::Allocator* allocator) { - static const int k_ALLOCATION_OVERHEAD = 64; - ntca::InterfaceConfig config(allocator); config.setThreadName("bmqimp"); @@ -126,11 +124,8 @@ ntcCreateInterfaceConfig(const bmqt::SessionOptions& sessionOptions, config.setMaxThreads(1); // there is only one channel used on this // ChannelPool, with the bmqbrkr config.setMaxConnections(128); - config.setMaxIncomingStreamTransferSize(sessionOptions.blobBufferSize()); - config.setSendBufferSize(1024 - k_ALLOCATION_OVERHEAD); config.setWriteQueueLowWatermark(k_CHANNEL_LOW_WATERMARK); config.setWriteQueueHighWatermark(sessionOptions.channelHighWatermark()); - config.setReceiveTimeout(0); config.setDriverMetrics(false); config.setDriverMetricsPerWaiter(false);