tornado: Merge the TORNADO_SERVER and TORNADO_PORTS configs.

Having both of these is confusing; TORNADO_SERVER is used only when
there is one TORNADO_PORT.  Its primary use is actually to be _unset_,
and signal that in-process handling is to be done.

Rename to USING_TORNADO, to parallel the existing USING_RABBITMQ, and
switch the places that used it for its contents to using
TORNADO_PORTS.
This commit is contained in:
Alex Vandiver
2020-09-16 15:30:45 -07:00
committed by Tim Abbott
parent 4b3121db0b
commit e5f62d083e
7 changed files with 15 additions and 25 deletions

View File

@@ -69,7 +69,7 @@ EXTRA_INSTALLED_APPS = ["zilencer", "analytics", "corporate"]
# Disable Camo in development
CAMO_URI = ''
TORNADO_SERVER = "http://127.0.0.1:9993"
TORNADO_PORTS = [9993]
OPEN_REALM_CREATION = True
INVITES_MIN_USER_AGE_DAYS = 0