dlecocq/nsq-py — pull request #10 by dlecocq (2014-04-15 15:35:43+00:00)
Title: Check for Reconnection

This provides a context manager that spawns (and stops and joins) a thread that periodically checks the connections associated with a client. The gevent implementation uses a coroutine, since it monkey-patches threading.