mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
tornado: Ensure TORNADO_PROCESSES is an integer.
When reading something from get_config, the default return type is a string, which mean that various comparisons didn't work correctly.
This commit is contained in:
@@ -589,7 +589,7 @@ CORPORATE_ENABLED = 'corporate' in INSTALLED_APPS
|
||||
# Base URL of the Tornado server
|
||||
# We set it to None when running backend tests or populate_db.
|
||||
# We override the port number when running frontend tests.
|
||||
TORNADO_PROCESSES = get_config('application_server', 'tornado_processes', 1)
|
||||
TORNADO_PROCESSES = int(get_config('application_server', 'tornado_processes', 1))
|
||||
TORNADO_SERVER = 'http://127.0.0.1:9993'
|
||||
RUNNING_INSIDE_TORNADO = False
|
||||
AUTORELOAD = DEBUG
|
||||
|
Reference in New Issue
Block a user