mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
Fix MQ example 6 condition
This commit is contained in:
parent
f827655f81
commit
132682bc10
|
@ -63,13 +63,13 @@ void FairMQExample6Sampler::Run()
|
||||||
if (Send(msg, "data") > 0)
|
if (Send(msg, "data") > 0)
|
||||||
{
|
{
|
||||||
LOG(INFO) << "Sent \"" << fText << "\"";
|
LOG(INFO) << "Sent \"" << fText << "\"";
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (fMaxIterations > 0 && ++fNumIterations >= fMaxIterations)
|
if (fMaxIterations > 0 && ++fNumIterations >= fMaxIterations)
|
||||||
{
|
{
|
||||||
LOG(INFO) << "Configured maximum number of iterations reached. Leaving RUNNING state.";
|
LOG(INFO) << "Configured maximum number of iterations reached. Leaving RUNNING state.";
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user