Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jakesmith committed Sep 26, 2023
1 parent 2b038c1 commit 4a61e11
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions thorlcr/slave/thslavemain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,10 +411,6 @@ int main( int argc, const char *argv[] )
slfEp.port = queryMyNode()->endpoint().port;
setMachinePortBase(slfEp.port);

setSlaveAffinity(globals->getPropInt("@slaveprocessnum"));

if (globals->getPropBool("@MPChannelReconnect"))
getMPServer()->setOpt(mpsopt_channelreopen, "true");
#ifdef USE_MP_LOG
startLogMsgParentReceiver();
LOG(MCdebugProgress, thorJob, "MPServer started on port %d", getFixedPort(TPORT_mp));
Expand All @@ -430,6 +426,12 @@ int main( int argc, const char *argv[] )
if (!slaveLogHandler)
slaveLogHandler = startSlaveLog();

setSlaveAffinity(globals->getPropInt("@slaveprocessnum"));

if (globals->getPropBool("@MPChannelReconnect"))
getMPServer()->setOpt(mpsopt_channelreopen, "true");


if (getExpertOptBool("slaveDaliClient"))
enableThorSlaveAsDaliClient();

Expand Down

0 comments on commit 4a61e11

Please sign in to comment.