mirror of https://github.com/zulip/zulip.git
submessage: Add 'durable=True' to the outermost transaction.
This commit is contained in:
parent
d5b8193a0a
commit
388464fcf4
|
@ -16,7 +16,7 @@ from zerver.models import UserProfile
|
|||
|
||||
|
||||
# transaction.atomic is required since we use FOR UPDATE queries in access_message.
|
||||
@transaction.atomic
|
||||
@transaction.atomic(durable=True)
|
||||
@typed_endpoint
|
||||
def process_submessage(
|
||||
request: HttpRequest,
|
||||
|
|
Loading…
Reference in New Issue