Skip to content

Avoid overbooking #8

@alvyynm

Description

@alvyynm
  • Ensure that the number of seats users reserve doesn't exceed max_attendees in the selected event.
  • Implement locking to prevent race conditions
  • Prevent shrinking of max_attendees below old.max_attendees - available_seats (i.e prevent user from reducing max_attendees below already booked seats, which will mean the event is overbooked)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions