diff --git a/libraries/entropy/client/interfaces/cache.py b/libraries/entropy/client/interfaces/cache.py index 56b1c6f8b..48d755474 100644 --- a/libraries/entropy/client/interfaces/cache.py +++ b/libraries/entropy/client/interfaces/cache.py @@ -124,7 +124,7 @@ class CacheMixin: ) def clear_dump_cache(self, dump_name, skip = []): - self.Cacher.sync(wait = True) + self.Cacher.discard() self.SystemSettings._clear_dump_cache(dump_name, skip = skip) def update_ugc_cache(self, repository): diff --git a/libraries/entropy/client/interfaces/methods.py b/libraries/entropy/client/interfaces/methods.py index 3cdb35aa3..9354c3b7f 100644 --- a/libraries/entropy/client/interfaces/methods.py +++ b/libraries/entropy/client/interfaces/methods.py @@ -1160,7 +1160,7 @@ class MiscMixin: @type branch basestring @return None """ - self.Cacher.sync(wait = True) + self.Cacher.discard() self.Cacher.stop() self.purge_cache(showProgress = False) self.close_all_repositories() @@ -1522,7 +1522,7 @@ class MatchMixin: if not callable(f): raise IncorrectParameter('IncorrectParameter: %s: %s' % (_("not a valid method"),method,) ) - self.Cacher.sync(wait = True) + self.Cacher.discard() done = f(match, dry_run) if done and not dry_run: self.SystemSettings.clear() diff --git a/libraries/entropy/core.py b/libraries/entropy/core.py index f880e37a4..4054354e4 100644 --- a/libraries/entropy/core.py +++ b/libraries/entropy/core.py @@ -1262,7 +1262,7 @@ class SystemSettings(Singleton): """ Internal method, go away! """ - self.__cacher.sync(wait = True) + self.__cacher.discard() self._clear_dump_cache(etpCache['world_available']) self._clear_dump_cache(etpCache['world_update']) self._clear_dump_cache(etpCache['check_package_update'])