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

Implement LRU cache for platforms #23

Open
cpetrov opened this issue Jul 13, 2017 · 1 comment
Open

Implement LRU cache for platforms #23

cpetrov opened this issue Jul 13, 2017 · 1 comment
Labels

Comments

@cpetrov
Copy link
Member

cpetrov commented Jul 13, 2017

As @ralfstx suggested, to prevent platforms from piling up in ~/.tabris-cli/platforms, least recently used platforms should be removed.

For a reasonable size of the platforms cache, last recently used 10 platforms could be kept in cache.

@cpetrov cpetrov added the build label Jul 13, 2017
@cpetrov
Copy link
Member Author

cpetrov commented Mar 25, 2020

Currently, cache pruning is only applied to nightly platforms, since they are most likely to pile up. The cache keeps a single nightly platform per OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant