uselagoon / lagoon

Lagoon, the developer-focused application delivery platform
https://docs.lagoon.sh/
Apache License 2.0
548 stars 147 forks source link

refactor: use api to store last accessed for user #3761

Open shreddedbacon opened 2 days ago

shreddedbacon commented 2 days ago

General Checklist

Database Migrations

Repeated calls to the API can result in users getting duplicated last_accessed attributes added. This refactors to use the api-db instead with a insert or update on a new user table. Also reduces the extra calls to keycloak this previously did.