mirror of
https://github.com/pretix/pretix.git
synced 2026-08-07 10:17:49 +00:00
Update src/pretix/helpers/database.py
Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
co-authored by
Richard Schreiber
parent
f86621a6ec
commit
add02262fc
@@ -76,7 +76,7 @@ def repeatable_reads_transaction():
|
||||
queries in READ COMMITTED mode, the results might be different for each query, causing numbers to be inconsistent
|
||||
with each other.
|
||||
|
||||
This decorator creates a transaction that is running in REPEATABLE READ mode to avoid this problem.
|
||||
This context manager creates a transaction that is running in REPEATABLE READ mode to avoid this problem.
|
||||
|
||||
**You should only make read-only queries during this transaction and not rely on quota calculations.**
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user