Closed Astrashh closed 9 months ago
You could simply the images.cache.unload-on-timeout
and images.cache.timeout
keys into just one key where zero is no timeout and any other number is a time out of that long. Should make configuring this easier.
Pull Request
Brief description.
Adds parameters to
pack.yml
that provide more control over image caching behaviour:images.cache.load-on-use
- If set to true, images will load into memory upon use rather than on pack load.images.cache.timeout
- How many seconds to keep images loaded in the image cache for. If set to a number greater than 0, images will be removed from memory if not used after the timeout, otherwise images will stay loaded in memory. Setting the timeout to greater than 0 will trade decreased memory consumption when not performing any image reads for a period of time for extra processing time required to perform cache lookups.What Issues Does This Fix?
421
Licensing
Types of changes
Compatiblity
Contribution Guidelines.
CONTRIBUTING.md
document in the root of the git repository.Documentation
Testing