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

Fix: Do not flush authcache when receiving duplicate block rules from the sync service #1310

Merged
merged 8 commits into from
Mar 22, 2024

Conversation

pmarkowsky
Copy link
Contributor

This PR changes the caching behavior of santad when it receives block rules from that sync service that are already in the database.

* Change the behavior of addedRulesShouldFlushDecisionCache to only flush when new block rules are added.
@pmarkowsky pmarkowsky added santad Work related to the Santa Daemon rules labels Mar 19, 2024
@pmarkowsky pmarkowsky added this to the 2024.3 milestone Mar 19, 2024
@pmarkowsky pmarkowsky marked this pull request as ready for review March 20, 2024 13:28
@pmarkowsky pmarkowsky requested a review from a team as a code owner March 20, 2024 13:28
Source/santad/DataLayer/SNTRuleTable.m Outdated Show resolved Hide resolved
Source/santad/DataLayer/SNTRuleTable.m Outdated Show resolved Hide resolved
@pmarkowsky pmarkowsky requested a review from mlw March 21, 2024 15:13
@pmarkowsky pmarkowsky merged commit b9f6005 into google:main Mar 22, 2024
9 checks passed
@pmarkowsky pmarkowsky deleted the fix-caching-with-sqlite3 branch March 22, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rules santad Work related to the Santa Daemon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants