dracidoupe / graveyard

Open Source reimplementation of https://www.dracidoupe.cz/
https://nove.dracidoupe.cz/
MIT License
6 stars 4 forks source link

Tracking last login access #285

Closed jimmeak closed 3 years ago

jimmeak commented 3 years ago

Closes #217

This will change date only if login is called.

I am thinking we would want to track each time someone is at the web page, but I do not feel the right solution is to set query to a database for each click on the page. Do you know about a better solution? Probably could move this question to #217 if it will be more interesting to discuss.

Almad commented 3 years ago

Current version works like that, I think, but agreed, I'd skip. One potential version would be to run a cron every hour or so, scrape logged in users and update in bulk. That said, I am not sure it's needed :)