Skip to content

Commit

Permalink
removing erroneous ntc settings (bloomberg#359)
Browse files Browse the repository at this point in the history
Signed-off-by: dorjesinpo <[email protected]>
  • Loading branch information
dorjesinpo authored and alexander-e1off committed Oct 24, 2024
1 parent 7771ba8 commit c353d85
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/groups/bmq/bmqimp/bmqimp_application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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);
Expand Down

0 comments on commit c353d85

Please sign in to comment.