Skip to content

Commit 76538a3

Browse files
committed
refactoring
1 parent d4251dd commit 76538a3

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

moleculer/node.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ class MoleculerNode(object):
2323
be closed, which usually are tied to permission related issues or
2424
socket timeouts.
2525
26-
It uses delivery confirmations and illustrates one way to keep track of
27-
messages that have been sent and if they've been confirmed by RabbitMQ.
28-
2926
"""
3027

3128
EXCHANGE_TYPE = 'fanout'
@@ -105,7 +102,7 @@ def open_channel(self):
105102
def on_channel_open(self, channel):
106103
LOGGER.info('Channel opened')
107104
self._channel: Channel = channel
108-
# self._channel.basic_qos(prefetch_count=1)
105+
# self._channel.basic_qos(prefetch_count=1) # TODO: figure out why prefetch must be disabled to make it work
109106
# self._channel.confirm_delivery() # Enabled delivery confirmations
110107
self.add_on_channel_close_callback()
111108
self.create_topics()

0 commit comments

Comments
 (0)