mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 11:33:51 +00:00
settings: Add option to set remote postgres port.
This commit is contained in:
@@ -73,6 +73,8 @@ try:
|
||||
from django.conf import settings
|
||||
if settings.REMOTE_POSTGRES_HOST != '':
|
||||
pg_args['host'] = settings.REMOTE_POSTGRES_HOST
|
||||
if settings.REMOTE_POSTGRES_PORT != '':
|
||||
pg_args['port'] = settings.REMOTE_POSTGRES_PORT
|
||||
USING_PGROONGA = settings.USING_PGROONGA
|
||||
except ImportError:
|
||||
# process_fts_updates also supports running locally on a remote
|
||||
|
||||
Reference in New Issue
Block a user