Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
populate_db: Don't enqueue push notifications service updates.
Tim Abbott951a474376ac
diff --git a/zilencer/management/commands/populate_db.py b/zilencer/management/commands/populate_db.pyindex 6356988fce8..60dea60d85d 100644--- a/zilencer/management/commands/populate_db.py+++ b/zilencer/management/commands/populate_db.py@@ -75,6 +75,9 @@ from zerver.models.users import get_user, get_user_by_delivery_email, get_user_pfrom zilencer.models import RemoteRealm, RemoteZulipServer, RemoteZulipServerAuditLogfrom zilencer.views import update_remote_realm_data_for_server+# Disable the push notifications bouncer to avoid enqueuing updates in+# maybe_enqueue_audit_log_upload during early setup.+settings.PUSH_NOTIFICATION_BOUNCER_URL = Nonesettings.USING_TORNADO = False# Disable using memcached caches to avoid 'unsupported pickle# protocol' errors if `populate_db` is run with a different Python