You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure what exactly you mean but I'm assuming that you are saying that two users or more can schedule for the same time on a resource if they both put in a request for the same block of time or overlap.
Based on my understanding of what your bug is. Have each unique user be on a separate thread. Then lock the resource/file that determines the schedule as you are editing it on one thread and unlock it once it is done editing it. Other threads will be forced to wait until the first thread is done.
Hey @legut2 , thanks for your comment, but the users are on different phones. The problem is that user #1 has created a reservation and in the time that it takes to queue and set that reservation up to the API, user #2 has also made a reservation for the same resource and an over lapping time. Both go into the db. I only have validation written into the phone, the API is dumb, so I need to fix that. No worries. :-)
When I Try to Reserve 3 things in a row the last one gets stuck as its own reservation. (torin)
The text was updated successfully, but these errors were encountered: