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).
Loading
Please register or sign in to comment