diff --git a/zerver/lib/push_notifications.py b/zerver/lib/push_notifications.py index e39a2dc35f..0c8bee7629 100644 --- a/zerver/lib/push_notifications.py +++ b/zerver/lib/push_notifications.py @@ -1639,7 +1639,7 @@ def handle_push_notification(user_profile_id: int, missed_message: dict[str, Any # BUG: Investigate why it's possible to get here. return # nocoverage - with transaction.atomic(savepoint=False): + with transaction.atomic(durable=True): try: (message, user_message) = access_message_and_usermessage( user_profile,