Skip to content

Conversation

@masklinn
Copy link
Contributor

@masklinn masklinn commented Mar 28, 2024

No description provided.

@masklinn masklinn changed the title Add test to ensure backfilling results does not lead to evictions Add cache tests Mar 28, 2024
Partial results are back-filled (new domains added) by re-setting them
in the cache. With a sufficiently incorrect implementation, the cache
can evict entries on that occasion even though it does not need
to (because we're replacing an existing entry).

Exactly that should have been fixed by ua-parser#204, but was not tested at the
time.

Fixes ua-parser#199
@masklinn masklinn enabled auto-merge (rebase) October 29, 2024 21:20
@masklinn masklinn merged commit 2476d04 into ua-parser:master Oct 29, 2024
23 checks passed
@masklinn masklinn deleted the more-cache-tests branch November 24, 2024 15:29
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.

1 participant