Commit Graph

17 Commits

Author SHA1 Message Date
Raphael Michel
1066a09612 Fix possible locking issue 2023-11-27 18:27:47 +01:00
Raphael Michel
c842ea597c New locking mechanism (#2408)
Co-authored-by: Richard Schreiber <schreiber@rami.io>
2023-09-11 11:44:50 +02:00
Raphael Michel
4f6fa84fa7 Fix locking timeout no longer working after redis version change 2022-10-31 16:02:42 +01:00
Raphael Michel
f14d031de4 Fix semantics of LockTimeoutException and LockReleaseException 2022-09-30 13:41:51 +02:00
Raphael Michel
a93287207b pretix Community Edition moves to AGPLv3-based license (#2023) 2021-04-12 10:33:47 +02:00
Raphael Michel
51392f73a8 Locking optimizations 2019-05-05 17:31:08 +02:00
Raphael Michel
1faacef9d4 Always process tasks through celery (#245) 2016-09-21 10:38:31 +02:00
Tobias Kunze
988dfc32a3 Use @transaction.atomic instead of @transaction.atomic() 2016-09-07 15:30:38 +02:00
Raphael Michel
c30ff5e657 Only call now() once inside any event.lock() call 2016-08-29 22:33:51 +02:00
Raphael Michel
d133d2abff Removed CleanerVersion layer [backwards-incompatible!] 2015-12-12 13:08:33 +01:00
Raphael Michel
28437771cf Moved locking out of the model layer 2015-09-28 23:30:25 +02:00
Raphael Michel
1c89fec808 Fixed import sorting 2015-09-28 23:11:46 +02:00
Raphael Michel
72ecfea622 Fixed and improved locking implementations 2015-09-28 22:59:28 +02:00
Raphael Michel
c268da02a2 Simplified the locking procedure 2015-09-16 16:03:17 +02:00
Raphael Michel
e828d711bd Used isort to order all import statements 2015-07-19 20:46:34 +02:00
Raphael Michel
7ca3389d08 Fixed an ImportError when redis-py is not installed 2015-06-30 18:15:55 +02:00
Raphael Michel
235769ce4f Added the possibility to use Redis for quota locks 2015-06-30 17:29:34 +02:00