mirror of
https://github.com/zulip/zulip.git
synced 2025-10-31 20:13:46 +00:00
[manual] Add asynchronous message sender via sockjs-tornado
New dependency: sockjs-tornado One known limitation is that we don't clean up sessions for non-websockets transports. This is a bug in Tornado so I'm going to look at upgrading us to the latest version: https://github.com/mrjoes/sockjs-tornado/issues/47 (imported from commit 31cdb7596dd5ee094ab006c31757db17dca8899b)
This commit is contained in:
@@ -53,6 +53,15 @@ TESTING_DEPLOYED = not not re.match(r'^test', platform.node())
|
||||
|
||||
LOCALSERVER = os.path.exists('/etc/zulip-local')
|
||||
|
||||
if TESTING_DEPLOYED:
|
||||
EXTERNAL_HOST = platform.node()
|
||||
elif STAGING_DEPLOYED:
|
||||
EXTERNAL_HOST = 'staging.zulip.com'
|
||||
elif DEPLOYED:
|
||||
EXTERNAL_HOST = 'zulip.com'
|
||||
else:
|
||||
EXTERNAL_HOST = 'localhost:9991'
|
||||
|
||||
EMBEDLY_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
|
||||
# For now, LOCALSERVER is only testing, so write to our test buckets
|
||||
|
||||
Reference in New Issue
Block a user