This is an automated email from the ASF dual-hosted git repository. akitouni pushed a commit to branch abderrahim/background in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 891633f3723c927210742b87bfd8ef4b26b9a0ae 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 42937c1d6..a489e6e6c 100644 --- a/src/buildstream/_cas/cascache.py +++ b/src/buildstream/_cas/cascache.py @@ -76,7 +76,6 @@ class CASCache: os.makedirs(self.tmpdir, exist_ok=True) self._cache_usage_monitor = None - self._cache_usage_monitor_forbidden = False self._remote_cache = bool(remote_cache_spec) @@ -730,7 +729,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_process_manager()
