Update src/pretix/helpers/database.py

Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
Raphael Michel
2025-10-02 12:57:55 +02:00
committed by GitHub
parent f86621a6ec
commit add02262fc

View File

@@ -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 queries in READ COMMITTED mode, the results might be different for each query, causing numbers to be inconsistent
with each other. 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.** **You should only make read-only queries during this transaction and not rely on quota calculations.**
""" """