mirror of https://github.com/zulip/zulip.git
default_settings: Set NAGIOS_BOT_HOST to most likely correct hostname.
Using only EXTERNAL_HOST results in: ``` CRITICAL: Error subscribing to Zulips: Account is not associated with this subdomain ``` Since system bots like the nagios bot are created in `SYSTEM_BOT_REALM`, default to that subdomain of `EXTERNAL_HOST`.
This commit is contained in:
parent
cbc9065ed2
commit
16a53d08fd
|
@ -579,7 +579,7 @@ GOOGLE_ANALYTICS_ID: Optional[str] = None
|
|||
IS_DEV_DROPLET = False
|
||||
|
||||
# Used by puppet/kandra/files/cron.d/check_send_receive_time.
|
||||
NAGIOS_BOT_HOST = EXTERNAL_HOST
|
||||
NAGIOS_BOT_HOST = SYSTEM_BOT_REALM + "." + EXTERNAL_HOST
|
||||
|
||||
# Use half of the available CPUs for data import purposes.
|
||||
DEFAULT_DATA_EXPORT_IMPORT_PARALLELISM = (len(os.sched_getaffinity(0)) // 2) or 1
|
||||
|
|
Loading…
Reference in New Issue