Mojtabarezaei4 / Queueomatic

A queue system that can be used for educational purposes or for any other situations where prioritization of individuals is necessary.
https://queueomatic.azurewebsites.net/
MIT License
7 stars 2 forks source link

Include participant in room deletion service #159

Closed FabianAronsson closed 7 months ago

FabianAronsson commented 9 months ago

Add a new field to participant that records last active date. If the participant has not been active for 1 day and the participant is not part of any active rooms, delete the participant.

Update this new field when joining a room.

Mojtabarezaei4 commented 9 months ago

Do we need this field in db? We already have one called StatusDate and it updates the last change on the participant.

FabianAronsson commented 9 months ago

Good point! We can use the existing field and just include it in the deletion service then.