Skip to content

update regex resolve cache only if known user changed#7489

Open
SungJin1212 wants to merge 1 commit intocortexproject:masterfrom
SungJin1212:update-regex-resolve-cache-when-changed
Open

update regex resolve cache only if known user changed#7489
SungJin1212 wants to merge 1 commit intocortexproject:masterfrom
SungJin1212:update-regex-resolve-cache-when-changed

Conversation

@SungJin1212
Copy link
Copy Markdown
Member

This PR avoids purging the regex resolver LRU cache when the set of known users has not changed between user-sync ticks to reduce cold misses.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
  • docs/configuration/v1-guarantees.md updated if this PR introduces experimental flags

Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
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.

1 participant