mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
End transitions are now properly notified
This commit is contained in:
parent
67e8fe67ad
commit
dab00296aa
7
main.cpp
7
main.cpp
|
@ -48,11 +48,8 @@ int main(int argc, char *argv[]) {
|
|||
auto [ec, states] =
|
||||
fairmqTopo.ChangeState(transition, std::chrono::milliseconds(300));
|
||||
if (!ec) {
|
||||
// End transition does not yet wait for devices to acknowledge in v1.4.8
|
||||
if (transition != TopologyTransition::End) {
|
||||
LOG(info) << states.size() << " devices transitioned to "
|
||||
<< fair::mq::sdk::AggregateState(states);
|
||||
}
|
||||
LOG(info) << states.size() << " devices transitioned to "
|
||||
<< fair::mq::sdk::AggregateState(states);
|
||||
} else {
|
||||
LOG(error) << ec;
|
||||
return ec.value();
|
||||
|
|
Loading…
Reference in New Issue
Block a user