File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments