Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix: clearing filter caches upon loading new settings #444

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

domanchi
Copy link
Contributor

@domanchi domanchi commented Apr 3, 2021

Shout out to @calvinli for finding this one. When you're swapping between Settings objects to run more advanced server side analysis, filters' caches do not become invalidated, and cause unexpected results.

This fixes it.

Copy link
Member

@calvinli calvinli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems kinda magic but sure i guess

@domanchi domanchi merged commit a7dfa01 into master Apr 9, 2021
killuazhu pushed a commit to IBM/detect-secrets that referenced this pull request Jun 29, 2021
killuazhu pushed a commit to IBM/detect-secrets that referenced this pull request Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants