Skip to content
Commit 386d5a80 authored by Tiago Gomes's avatar Tiago Gomes
Browse files

artifactcache: remove set_cache_size()

Instead have the clean() method to return the number of bytes cleaned
and use that value to feed to add_artifact_size().

So that we have a single external point to update the cache size.

The call to compute_cache_size() is removed as the cache size should be
very accurate (and it is not it would be hiding a bug somewhere).
parent 5f4c19ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment