--- a/hooks-queue.py Wed May 30 18:20:33 2018 +0800
+++ b/hooks-queue.py Wed May 30 18:26:26 2018 +0800
application = CandolintHooks(rconn, args.debug)
application.listen(options.port, options.listen, xheaders=options.xheaders)
- IOLoop.instance().start()
+ IOLoop.current().start()
if __name__ == '__main__':
--- a/poller-queue.py Wed May 30 18:20:33 2018 +0800
+++ b/poller-queue.py Wed May 30 18:26:26 2018 +0800
- IOLoop.instance().add_callback(self.setup)
+ IOLoop.current().add_callback(self.setup)
CandolintPoller(rconn, targets, interval, args.debug)
- IOLoop.instance().start()
+ IOLoop.current().start()
if __name__ == '__main__':
--- a/requirements.txt Wed May 30 18:20:33 2018 +0800
+++ b/requirements.txt Wed May 30 18:26:26 2018 +0800