Open
Description
Code of Conduct
- I agree to follow Django's Code of Conduct
Feature Description
MariaDB supports SELECT ... FOR UPDATE WAIT n
since version 10.3.0. I'd like to be able to use that feature through the Django ORM.
Ref: https://mariadb.com/kb/en/wait-and-nowait/
Problem
Right now I don't have a clean mechanism to set a timeout on a locking statement. I'd like to be able to set a guardrail in a form of a timeout for long running transactions.
Request or proposal
proposal
Additional Details
No response
Implementation Suggestions
I'd extend the select_for_update
signature to allow an extra argument, something like select_for_update(wait=n)
Metadata
Metadata
Assignees
Type
Projects
Status
Idea