pynsq icon indicating copy to clipboard operation
pynsq copied to clipboard

add Writer.close() and Client.close(), improve Reader.close()

Open ploxiln opened this issue 4 years ago • 2 comments

make Reader.close() prevent nsqd_tcp_addresses from reconnecting

Writer.close() also closes conns and stops from reconnecting

Client.close() stops the periodic _check_last_recv_timestamps()

fixes #196

ploxiln avatar Jan 19 '20 07:01 ploxiln

These changes seem fine, ready to land this @ploxiln?

mreiferson avatar Jun 14 '20 23:06 mreiferson

unfortunately I haven't tested this at all, I've just been using the tornado-6 branch

ploxiln avatar Jun 15 '20 17:06 ploxiln