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

make cache size limit configurable #9

Closed
stefan-guggisberg opened this issue Feb 21, 2020 · 1 comment
Closed

make cache size limit configurable #9

stefan-guggisberg opened this issue Feb 21, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@stefan-guggisberg
Copy link
Contributor

stefan-guggisberg commented Feb 21, 2020

Is your feature request related to a problem? Please describe.
Currently an in-memory cache with LRU eviction policy is used with a hardcoded max_entries limit.

Describe the solution you'd like
It should be possible to configure the cache with a size limit, i.e. the maximum amount of memory used by the cached entries. While it won't be possible to calculate an exact heap memory footprint an approximation should be fine.

@stefan-guggisberg stefan-guggisberg added the enhancement New feature or request label Feb 21, 2020
@stefan-guggisberg stefan-guggisberg self-assigned this Feb 21, 2020
@stefan-guggisberg stefan-guggisberg changed the title make cache limits configurable make cache size limit configurable Feb 28, 2020
@stefan-guggisberg
Copy link
Contributor Author

fixed via #18

trieloff pushed a commit that referenced this issue Feb 28, 2020
# [1.4.0](v1.3.0...v1.4.0) (2020-02-28)

### Features

* make cache size limit configurable ([7fd632d](7fd632d)), closes [#9](#9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant