Skip to content

Conversation

@ghostwords
Copy link
Member

@ghostwords ghostwords commented Oct 21, 2025

Fixes #1507

It's possible for disabledSites in settings storage and the disabled sites trie in memory to get out of sync if we miss updating the trie after a disabledSites update. We might want to subscribe to disabledSites changes to avoid this scenario.

@ghostwords ghostwords force-pushed the optimize-disabled-sites branch from d163df7 to a38a47d Compare October 21, 2025 20:34
@ghostwords ghostwords force-pushed the optimize-disabled-sites branch from a38a47d to df9d437 Compare October 28, 2025 19:34
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.

badger.isPrivacyBadgerEnabled is O(n) in the number of disabled sites a user has

2 participants