Files
zulip/zerver/lib/push_notifications.py
Prakhar Pratyush 140e575ddc push_notification: Use durable=True for the outermost transaction.
This commit updates the `transaction.atomic` context manager
used to take a lock on Message row in `handle_push_notification`
to use `durable=True` instead of `savepoint=False`. It helps to
avoid introducing an outer transaction by mistake - resulting in
locking row for a longer duration.

Signed-off-by: Prakhar Pratyush <prakhar@zulip.com>
2025-10-28 13:29:02 -07:00

73 KiB