We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec39f6e commit 0622a55Copy full SHA for 0622a55
intelmq/lib/pipeline.py
@@ -646,6 +646,9 @@ def _receive(self) -> bytes:
646
if self.source_queue is None:
647
raise exceptions.ConfigurationError('pipeline', 'No source queue given.')
648
try:
649
+ # self.channel.consume is blocking and with no incoming messages
650
+ # can prevent heartbeat maintenance. This loop let the pika maintain
651
+ # the channel at least once between expected heartbeats.
652
method, body = None, None
653
while not (method or body):
654
method, _, body = next(
0 commit comments