Skip to content

Use the cache for user login state.#36021

Merged
mdwn merged 1 commit intomasterfrom
mike.wilson/uls-generator-uses-cache
Jan 2, 2024
Merged

Use the cache for user login state.#36021
mdwn merged 1 commit intomasterfrom
mike.wilson/uls-generator-uses-cache

Conversation

@mdwn
Copy link
Copy Markdown
Contributor

@mdwn mdwn commented Dec 22, 2023

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.

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

@github-actions
Copy link
Copy Markdown
Contributor

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@zmb3
Copy link
Copy Markdown
Collaborator

zmb3 commented Dec 29, 2023

How about a title of use the cache for user login state?

Again, taking the format of: if applied, this commit will ________

@mdwn mdwn changed the title User login state generator uses cache where applicable. Use the cache for user login state. Dec 30, 2023
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.
@mdwn mdwn force-pushed the mike.wilson/uls-generator-uses-cache branch from 6e8d411 to 3f5aa43 Compare January 2, 2024 17:54
@mdwn mdwn enabled auto-merge January 2, 2024 18:02
@mdwn mdwn added this pull request to the merge queue Jan 2, 2024
Merged via the queue into master with commit ee8bcdc Jan 2, 2024
@mdwn mdwn deleted the mike.wilson/uls-generator-uses-cache branch January 2, 2024 18:31
@public-teleport-github-review-bot
Copy link
Copy Markdown

@mdwn See the table below for backport results.

Branch Result
branch/v13 Create PR
branch/v14 Create PR

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants