mostly working ticket selection for non-seatplan

This commit is contained in:
janishutz committed 2023-08-07 17:35:20 +02:00
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();
}