Skip to content

[v14] Use the cache for user login state.#36196

Merged
mdwn merged 1 commit intobranch/v14from
bot/backport-36021-branch/v14
Jan 3, 2024
Merged

[v14] Use the cache for user login state.#36196
mdwn merged 1 commit intobranch/v14from
bot/backport-36021-branch/v14

Conversation

@mdwn
Copy link
Copy Markdown
Contributor

@mdwn mdwn commented Jan 2, 2024

Backport #36021 to branch/v14

changelog: The user login state generator now uses the cache, which should reduce the number of calls to the backend.

It was discovered that the user login state isn't being used for the user
login state generator. This means that role lookups are not being cached,
which is an unnecessary performance burden, and any potential further cache
updates would not be used. This has been fixed.
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from kimlisa January 3, 2024 14:28
@mdwn mdwn added this pull request to the merge queue Jan 3, 2024
Merged via the queue into branch/v14 with commit c31d52e Jan 3, 2024
@mdwn mdwn deleted the bot/backport-36021-branch/v14 branch January 3, 2024 15:42
@camscale camscale mentioned this pull request Jan 10, 2024
@zmb3
Copy link
Copy Markdown
Collaborator

zmb3 commented Jan 10, 2024

changelog: The user login state generator now uses the cache, which should reduce the number of calls to the backend.

I'm not sure we can expect anyone to understand what this means. The term user login state generator doesn't appear once in our docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants