tornado: Store port on SockJS connection object.

This will make it available for use inside our websockets code.
This commit is contained in:
Tim Abbott
2018-11-02 16:09:16 -07:00
parent 5e7aa27c29
commit ec065e92ee
4 changed files with 7 additions and 6 deletions

View File

@@ -95,7 +95,7 @@ class Command(BaseCommand):
try:
# Application is an instance of Django's standard wsgi handler.
application = create_tornado_application()
application = create_tornado_application(int(port))
if settings.AUTORELOAD:
zulip_autoreload_start()