Skip to content
Snippets Groups Projects
Commit 5c32e901 authored by zwart's avatar zwart
Browse files

BugID: 719

Limit the number of concurrent connections
parent 6e5fc56a
No related branches found
No related tags found
No related merge requests found
......@@ -84,10 +84,16 @@ namespace LOFAR
// Each writer will run on a separate node.
step.runOnNode(nw);
vector<int> channels;
// Connect to BG output
for (int core = 0; core < nNodesPerCell; core++) {
step.getInDataManager(core).setInBuffer(core, false, 10);
itsStub->connect(nw, core, step.getInDataManager(core), core);
channels.push_back(core);
}
// limit the number of concurrent incoming connections
step.getInDataManager(0).setInRoundRobinPolicy(channels, 1);
}
#ifdef HAVE_MPI
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment