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.

do_update_embedded_data: Remove unnecessary `transaction.atomic`.

Abhijeet Prasad Bodas2545f00ad868
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py
index 583d30a90e9..f6cedb72c7c 100644
--- a/zerver/lib/actions.py
+++ b/zerver/lib/actions.py
@@ -5869,8 +5869,6 @@ def update_to_dict_cache(
return message_ids
-# We use transaction.atomic to support select_for_update in the attachment codepath.
def do_update_embedded_data(
user_profile: UserProfile,
message: Message,