Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid overbooking #8

Open
1 of 3 tasks
alvyynm opened this issue Feb 28, 2024 · 1 comment
Open
1 of 3 tasks

Avoid overbooking #8

alvyynm opened this issue Feb 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@alvyynm
Copy link
Owner

alvyynm commented Feb 28, 2024

  • 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)
@alvyynm alvyynm added the bug Something isn't working label Feb 28, 2024
@alvyynm alvyynm self-assigned this Feb 28, 2024
@alvyynm
Copy link
Owner Author

alvyynm commented Feb 28, 2024

#13 partially addresses the first item on the checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant