Skip to content

Commit a686cf4

Browse files
ktfdavidrohr
authored andcommitted
DPL: fix issue with 100% CPU usage when output proxy is idling
1 parent 31fc2a3 commit a686cf4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Framework/Core/src/DataProcessingDevice.cxx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,12 @@ void DataProcessingDevice::initPollers()
457457
LOGP(debug, "{} is to send data. Not polling.", channelName);
458458
continue;
459459
}
460+
461+
if (channelName.rfind("from_") != 0) {
462+
LOGP(info, "{} is not a DPL socket. Not polling.", channelName);
463+
continue;
464+
}
465+
460466
// We assume there is always a ZeroMQ socket behind.
461467
int zmq_fd = 0;
462468
size_t zmq_fd_len = sizeof(zmq_fd);

0 commit comments

Comments
 (0)