mirror of
https://github.com/pretix/pretix.git
synced 2026-08-23 12:51:59 +00:00
New locking mechanism (#2408)
Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
co-authored by
Richard Schreiber
parent
b2b3fa36be
commit
c842ea597c
@@ -114,6 +114,8 @@ elif 'mysql' in db_backend:
|
||||
print("pretix does no longer support running on MySQL/MariaDB")
|
||||
sys.exit(1)
|
||||
|
||||
DATABASE_ADVISORY_LOCK_INDEX = config.getint('database', 'advisory_lock_index', fallback=0)
|
||||
|
||||
db_options = {}
|
||||
|
||||
postgresql_sslmode = config.get('database', 'sslmode', fallback='disable')
|
||||
|
||||
Reference in New Issue
Block a user