Skip to content

Commit

Permalink
HPCC-32096 Expose MP listen queue somaxconn for containerized envs
Browse files Browse the repository at this point in the history
Signed-off-by: M Kelly <[email protected]>
  • Loading branch information
mckellyln committed Jun 19, 2024
1 parent e3f2fac commit d1c3ab1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions system/mp/mpcomm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2165,6 +2165,11 @@ CMPConnectThread::CMPConnectThread(CMPServer *_parent, unsigned port, bool _list
parent->mpTraceLevel = getComponentConfigSP()->getPropInt("logging/@detail", InfoMsgThreshold);
if (listen)
{
if (getComponentConfigSP()->hasProp("expert/@mpSoMaxConn"))
mpSoMaxConn = getComponentConfigSP()->getPropInt("expert/@mpSoMaxConn", 0);
else
mpSoMaxConn = getGlobalConfigSP()->getPropInt("expert/@mpSoMaxConn", 0);

if (getComponentConfigSP()->hasProp("expert/@acceptThreadPoolSize"))
acceptThreadPoolSize = getComponentConfigSP()->getPropInt("expert/@acceptThreadPoolSize");
else
Expand Down

0 comments on commit d1c3ab1

Please sign in to comment.