This is an automated email from the ASF dual-hosted git repository. akitouni pushed a commit to branch abderrahim/cleanup in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit ddce2adbf1fcf886ceebf7a24b94ee20c1eff1e6 Author: Abderrahim Kitouni <[email protected]> AuthorDate: Fri Dec 10 22:48:24 2021 +0100 cascache.py: remove _cache_usage_monitor_forbidden This is a relic from the job pickling era --- src/buildstream/_cas/cascache.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/buildstream/_cas/cascache.py b/src/buildstream/_cas/cascache.py index 66d861aec..03dca3045 100644 --- a/src/buildstream/_cas/cascache.py +++ b/src/buildstream/_cas/cascache.py @@ -61,7 +61,6 @@ class CASCache: os.makedirs(self.tmpdir, exist_ok=True) self._cache_usage_monitor = None - self._cache_usage_monitor_forbidden = False self._remote_cache = remote_cache @@ -703,7 +702,6 @@ class CASCache: # (CASCacheUsage): The current status # def get_cache_usage(self): - assert not self._cache_usage_monitor_forbidden return self._cache_usage_monitor.get_cache_usage() # get_casd()
