zulip/zerver/worker
Prakhar Pratyush 3bad36ef8c queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe.
This commit renames the 'queue_json_publish' function to
'queue_json_publish_rollback_unsafe' to reflect the fact that it doesn't
wait for the db transaction (within which it gets called, if any)
to commit and sends event irrespective of commit or rollback.

In most of the cases we don't want to send event in the case of
rollbacks, so the caller should be aware that calling the function
directly is rollback unsafe.

Fixes part of #30489.
2024-12-06 09:23:02 -08:00
..
__init__.py Add new system for defining and running queue-processing workers 2013-09-24 20:44:15 -04:00
base.py worker: Address sentry_sdk deprecations. 2024-10-22 10:05:01 -07:00
deferred_work.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00
digest_emails.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
email_mirror.py email_mirror: Set a short timeout on parsing incoming emails. 2024-11-22 14:31:30 -08:00
email_senders.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
embed_links.py embed_links: Add savepoint=False to avoid creating savepoints. 2024-11-21 14:55:15 -08:00
embedded_bots.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
missedmessage_emails.py queue_processors: Disable missedmesssage worker on staging. 2024-11-22 14:31:30 -08:00
missedmessage_mobile_notifications.py ruff: Fix PLR6104 Use += to perform an augmented assignment directly. 2024-07-14 13:49:51 -07:00
outgoing_webhooks.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00
queue_processors.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
test.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
thumbnail.py thumbnail: Remove type: ignore. 2024-10-04 13:54:14 -04:00
user_activity_interval.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
user_activity.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00