mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
This commit replaces
transaction.on_commit(lambda: queue_json_publish("deferred_work",event))
with
queue_event_on_commit("deferred_work", event)
This change utilizes the helper function queue_event_on_commit,
which abstracts the transaction.on_commit logic and improves
maintainability.
5.2 KiB
5.2 KiB