Skip to content

Commit 308ac49

Browse files
committed
DPL: add a poller to check for the metric-feedback channel
In the AOD reader it might happen that the memory rate limiting prevents proper handling of the messages coming on the metric-feedback channel. This obviates to the issue by adding an explicit poller for such channel.
1 parent eb67b94 commit 308ac49

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Framework/Core/src/DataProcessingDevice.cxx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,8 +851,13 @@ void DataProcessingDevice::initPollers()
851851
continue;
852852
}
853853

854-
if (channelName.rfind("from_", 0) != 0) {
855-
LOGP(detail, "{} is not a DPL socket. Not polling.", channelName);
854+
if (channelName.rfind("from_", 0) != 0 && channelName != "metric-feedback") {
855+
LOGP(detail, "{} is not a DPL input socket. Not polling.", channelName);
856+
continue;
857+
}
858+
859+
if (channelName == "metric-feedback" && spec.name.rfind("internal-dpl-aod-reader", 0) != 0) {
860+
LOGP(detail, "{} is not a DPL input socket. Not polling.", channelName);
856861
continue;
857862
}
858863

0 commit comments

Comments
 (0)