[FIX] core: do not clear cache when removing registry from pool

No need to force other workers to reset their cache.
This commit is contained in:
Christophe Simonis
2018-06-14 17:17:13 +02:00
parent c13d67dd25
commit 5233dbdb54
-1
View File
@@ -415,7 +415,6 @@ class RegistryManager(object):
"""Delete the registry linked to a given database. """
with cls.lock():
if db_name in cls.registries:
cls.registries[db_name].clear_caches()
del cls.registries[db_name]
@classmethod