Add polling timeout.
Polling now has a timeout to abort.
If it fails in the for loop from ringSetup, it aborts the complete loop for that specific ring so that it doesn't try again two times in a row.
const auto nodes = topology_.getNodesForRing(ring);
for (const auto &node : nodes) {
stat = nodeSetup(ring, node.first);
if (node.first == nodes.rbegin()->first) {
if (stat == rmmSuccess) finalRingSetup(ring, node.first);
} else {
RMMRegs.feaFwRegWrite("RVSR_SLV", ring, node.first, 0x0, "S");
}
}