mirror of https://github.com/zulip/zulip.git
upgrade: Skip re-checking of new bots on upgrade.
This was added inc770bdaa3a
, and we have not added any realm-internal bots sincec770bdaa3a
. Speed up the critical period during upgrades by skipping this step.
This commit is contained in:
parent
560cf06b72
commit
52d363cada
|
@ -365,8 +365,6 @@ if migrations_needed:
|
||||||
logging.info("Applying database migrations...")
|
logging.info("Applying database migrations...")
|
||||||
subprocess.check_call(["./manage.py", "migrate", "--noinput"], preexec_fn=su_to_zulip)
|
subprocess.check_call(["./manage.py", "migrate", "--noinput"], preexec_fn=su_to_zulip)
|
||||||
|
|
||||||
subprocess.check_call(["./manage.py", "create_realm_internal_bots"], preexec_fn=su_to_zulip)
|
|
||||||
|
|
||||||
logging.info("Restarting Zulip...")
|
logging.info("Restarting Zulip...")
|
||||||
if IS_SERVER_UP or not args.skip_puppet:
|
if IS_SERVER_UP or not args.skip_puppet:
|
||||||
# Even if the server wasn't up previously, puppet might have
|
# Even if the server wasn't up previously, puppet might have
|
||||||
|
|
Loading…
Reference in New Issue