Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
missed-message: Remove unnecessary select_related().
Alex Vandiverc7d9a4784e8e
diff --git a/zerver/worker/queue_processors.py b/zerver/worker/queue_processors.pyindex a7de4858091..88e5dd67712 100644--- a/zerver/worker/queue_processors.py+++ b/zerver/worker/queue_processors.py@@ -714,7 +714,7 @@ class MissedMessageWorker(QueueProcessingWorker):with transaction.atomic():events_to_process = ScheduledMessageNotificationEmail.objects.filter(scheduled_timestamp__lte=current_time- ).select_related()+ )# Batch the entries by userevents_by_recipient: Dict[int, List[Dict[str, Any]]] = {}