forked from CGM_Public/pretix_original
Lock event during automatic waiting list assignment
This commit is contained in:
@@ -28,6 +28,7 @@ def assign_automatically(event_id: int, user_id: int=None, subevent_id: int=None
|
|||||||
|
|
||||||
sent = 0
|
sent = 0
|
||||||
|
|
||||||
|
with event.lock():
|
||||||
for wle in qs:
|
for wle in qs:
|
||||||
if (wle.item, wle.variation) in gone:
|
if (wle.item, wle.variation) in gone:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user