Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

export-search: Write output size before beginning export.

Alex Vandivere44ba1bef1a4
diff --git a/zerver/management/commands/export_search.py b/zerver/management/commands/export_search.py
index ba189e5439d..31f8ef3dedc 100644
--- a/zerver/management/commands/export_search.py
+++ b/zerver/management/commands/export_search.py
@@ -107,6 +107,7 @@ This is most often used for legal compliance.
)
messages_query = Message.objects.filter(limits, realm=realm).order_by("date_sent")
+ print(f"Exporting {len(messages_query)} messages...")
def format_sender(full_name: str, delivery_email: str) -> str:
return str(Address(display_name=full_name, addr_spec=delivery_email))