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

Initial work on dynamic cache cleaning #5546

Draft
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

dweymouth
Copy link
Contributor

@dweymouth dweymouth commented Feb 22, 2025

Description:

Taking inspiration from the Go garbage collector, this PR will seek to clean caches whenever they double from their last post-clean size, as well as on the regular clean schedule (currently 1 minute)

Fixes #5486, possibly #3842 and #3499

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

Where applicable:

  • Public APIs match existing style and have Since: line.
  • Any breaking changes have a deprecation path or have been discussed.
  • Check for binary size increases when importing new modules.

@coveralls
Copy link

Coverage Status

coverage: 62.315% (-0.03%) from 62.34%
when pulling 2a80bd3 on dweymouth:dynamic-cache-clean
into 61d6cb3 on fyne-io:develop.

@dweymouth dweymouth force-pushed the dynamic-cache-clean branch 2 times, most recently from 9553ea2 to 0762357 Compare February 26, 2025 01:18
@dweymouth dweymouth force-pushed the dynamic-cache-clean branch from 1aea2ed to e3db8c0 Compare March 8, 2025 15:52
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.

3 participants