plugin-barman-cloud icon indicating copy to clipboard operation
plugin-barman-cloud copied to clipboard

fix: prevent memory leak by periodically cleaning up expired cache entries

Open armru opened this issue 1 year ago • 0 comments

The ExtendedClient cache implementation was only replacing expired entries when the exact same object was requested again. Different objects (secrets and object stores) were continuously being added to the cache slice but never removed, causing unbounded memory growth.

Partially Fixes: #385

Tagging as partial fix given that this is very minor given that the objects rarely change

armru avatar Nov 25 '25 16:11 armru