mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
mostly working ticket selection for non-seatplan
This commit is contained in:
1 parent
ed38edd880
commit
9b7eb913ae
5 files changed
+68
-46
No files matched your search
@@ -35,11 +35,10 @@ class TicketGenerator {
|
||||
this.runningTickets = {};
|
||||
}
|
||||
|
||||
// TODO: Save to disk / DB in case of crash of server / reboot / whatever
|
||||
// and continue processing once back online
|
||||
// TODO: continue processing once back online
|
||||
generateTickets ( order ) {
|
||||
this.ticketQueue[ this.jobId ] = { 'order': order };
|
||||
this.runningTickets[ order ] = 'processing';
|
||||
this.runningTickets[ order.tok ] = 'processing';
|
||||
this.jobId += 1;
|
||||
this.queueHandler();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user