rabbitmq: Cut redundant stop_ioloop_on_close parameter.

The default value of this parameter is already False upstream.
(It was already False in pika version 0.9.6, which we were
supposedly using when we introduced this in 4baeaaa52; not sure
what the story was there.)
This commit is contained in:
Greg Price
2017-11-29 14:54:38 -08:00
committed by Tim Abbott
parent e7ec21b4cf
commit e88c2a7ee4

View File

@@ -187,7 +187,7 @@ class TornadoQueueClient(SimpleQueueClient):
self.connection = ExceptionFreeTornadoConnection( self.connection = ExceptionFreeTornadoConnection(
self._get_parameters(), self._get_parameters(),
on_open_callback = self._on_open, on_open_callback = self._on_open,
stop_ioloop_on_close = False) )
self.connection.add_on_close_callback(self._on_connection_closed) self.connection.add_on_close_callback(self._on_connection_closed)
def _reconnect(self) -> None: def _reconnect(self) -> None: