mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Update src/pretix/helpers/database.py
Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
@@ -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