Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
upgrade-postgresql: Switch to vacuumdb --all --analzyze-only --jobs 10.
Alex Vandiverf77bbd3323f4
diff --git a/scripts/setup/upgrade-postgresql b/scripts/setup/upgrade-postgresqlindex 61a0f1ae8b8..9e66bf018f2 100755--- a/scripts/setup/upgrade-postgresql+++ b/scripts/setup/upgrade-postgresql@@ -48,7 +48,7 @@ SCRIPTS_PATH=$(grep -o "/var/log/postgresql/pg_upgradecluster-$UPGRADE_FROM-$UPGcrudini --set /etc/zulip/zulip.conf postgresql version "$UPGRADE_TO"# Update the statistics-[ -n "$SCRIPTS_PATH" ] && su postgres -c "$SCRIPTS_PATH/analyze_new_cluster.sh"+su postgres -c "/usr/lib/postgresql/$UPGRADE_TO/bin/vacuumdb --all --analyze-only --jobs 10"# Start the database up cleanly"$ZULIP_PATH"/scripts/zulip-puppet-apply -f