Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit d2e0df2

Browse files
committed
[client] Prefetch count 1 for enrichment
1 parent 3ba94c0 commit d2e0df2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pycti/connector/opencti_connector_helper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ def run(self) -> None:
307307
)
308308
self.pika_connection = pika.BlockingConnection(self.pika_parameters)
309309
self.channel = self.pika_connection.channel()
310+
self.channel.basic_qos(prefetch_count=1)
310311
assert self.channel is not None
311312
self.channel.basic_consume(
312313
queue=self.queue_name, on_message_callback=self._process_message

0 commit comments

Comments
 (0)