mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-12-05 02:01:33 +00:00
Use IOLoop.current() instead of deprecated instance()
This commit is contained in:
parent
7698ff430e
commit
b032da8983
@ -34,4 +34,4 @@ if __name__ == '__main__':
|
||||
application.listen(os.environ['CONTROLLER_PORT'])
|
||||
|
||||
setup_signal_handlers()
|
||||
IOLoop.instance().start()
|
||||
IOLoop.current().start()
|
||||
|
@ -87,7 +87,7 @@ def main():
|
||||
))
|
||||
|
||||
setup_signal_handlers()
|
||||
IOLoop.instance().start()
|
||||
IOLoop.current().start()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
@ -26,7 +26,7 @@ def main():
|
||||
))
|
||||
|
||||
setup_signal_handlers()
|
||||
IOLoop.instance().start()
|
||||
IOLoop.current().start()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
Reference in New Issue
Block a user