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

Remove unused delete() call, revert LoadingCache.purge changes #48

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

paskal
Copy link
Collaborator

@paskal paskal commented Jul 30, 2024

purge call became broken in 41ffddb, this change reverts it to the old behaviour so that memory won't be freed on its call. It's called relatively frequently and so copying the data map each time it happens would be too costly and unjustified.

`purge` call became broken in 41ffddb, this change reverts it
to the old behaviour so that memory won't be freed on its call.
It's called relatively frequently and so copying the `data` map
each time it happens would be too costly and unjustified.
@paskal paskal requested a review from umputun as a code owner July 30, 2024 17:33
@umputun umputun merged commit 6df207e into master Jul 30, 2024
6 checks passed
@umputun umputun deleted the paskal/fix_expirable_cache branch July 30, 2024 17:35
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.

2 participants