mirror of https://github.com/zulip/zulip.git
Fix parameters for on_close callback
Some of the older documentation was apparently wrong. (imported from commit 9ebf9d1a72c8b230563f1883d63c26212eb80e22)
This commit is contained in:
parent
46350c5dd8
commit
2c4a1912e8
|
@ -181,7 +181,7 @@ class TornadoQueueClient(SimpleQueueClient):
|
|||
self._reconnect_consumer_callbacks()
|
||||
self.log.info('TornadoQueueClient connected')
|
||||
|
||||
def _on_connection_closed(self, method_frame):
|
||||
def _on_connection_closed(self, connection, reply_code, reply_text):
|
||||
self.log.warning("TornadoQueueClient lost connection to RabbitMQ, reconnecting...")
|
||||
from tornado import ioloop
|
||||
|
||||
|
|
Loading…
Reference in New Issue