mirror of https://github.com/zulip/zulip.git
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:
parent
1bf385e35f
commit
86b38b1de7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue