You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reader's close method will call on_connection_closed, and if nsqlookupd address not set, it will try to reconnect to nsqd after 15 seconds, which means the reader can't be closed in this case?
# in _on_connection_close()
if not self.lookupd_http_addresses:
# automatically reconnect to nsqd addresses when not using lookupd
logger.info('[%s:%s] attempting to reconnect in 15s', conn.id, self.name)
reconnect_callback = functools.partial(self.connect_to_nsqd,
host=conn.host, port=conn.port)
self.io_loop.add_timeout(time.time() + 15, reconnect_callback)
The text was updated successfully, but these errors were encountered:
mreiferson
changed the title
Not able to stop a reader when no lookupd address set?
reader: not able to stop a reader when no nsqlookupd address set
Nov 11, 2018
The reader's close method will call on_connection_closed, and if nsqlookupd address not set, it will try to reconnect to nsqd after 15 seconds, which means the reader can't be closed in this case?
The text was updated successfully, but these errors were encountered: