DavidBergevoet / Setup-Reservation

0 stars 0 forks source link

Giving up my slot is impossible #2

Closed wou007 closed 3 months ago

wou007 commented 3 months ago

Whenever I am testing I just always block 120 minutes hoping that my application won't crash. Usually I don't have to wait as long before a crash on Dash occurs. Now the system is still reserved for me but I don't need it anymore. Blocking it for my colleagues.

My current workaround is not doing these kind of tasks anymore and offloading testing this to colleagues and users. But I would prefer being able to give up my slot by setting the remaining time to 0.

InzeNL commented 3 months ago

@DavidBergevoet since this only runs on the local network, we could use people's internal IP to keep track of who made what reservation? Then match that up with a current item or a queued item, to allow them to cancel it.

DavidBergevoet commented 3 months ago

Yeah I also thought this could be the solution, otherwise other people could cancel the ongoing requests. It is possible with flask.request to get op addresses