There was an error while loading. Please reload this page.
1 parent 43e1d0a commit b668b78Copy full SHA for b668b78
1 file changed
Framework/Core/src/ExternalFairMQDeviceProxy.cxx
@@ -69,7 +69,7 @@ void sendOnChannel(FairMQDevice& device, FairMQParts& messages, std::string cons
69
// TODO: we might want to treat this error condition some levels higher up, but for
70
// the moment its an appropriate solution. The important thing is not to drop
71
// messages and to be informed about the congestion.
72
- while (device.Send(messages, channel, index, timeout) < 0) {
+ while (device.NewStatePending() == false && device.Send(messages, channel, index, timeout) < 0) {
73
if (timeout == 0) {
74
timeout = 1;
75
} else if (timeout < maxTimeout) {
0 commit comments