resetcache in config/api not in storage
This commit is contained in:
parent
f03394563c
commit
715289a25a
|
@ -977,6 +977,7 @@ class TiramisuContextProperty(TiramisuContext):
|
|||
else:
|
||||
force_store_value = False
|
||||
self._config_bag.context.cfgimpl_get_settings()._p_.importation(properties)
|
||||
self._config_bag.context.cfgimpl_reset_cache(None, None)
|
||||
del self._config_bag.properties
|
||||
if force_store_value:
|
||||
self._force_store_value()
|
||||
|
|
|
@ -685,6 +685,7 @@ class _CommonConfig(SubConfig):
|
|||
duplicated_config.cfgimpl_get_settings()._p_.importation(properties)
|
||||
duplicated_config.cfgimpl_get_settings()._pp_.importation(self.cfgimpl_get_settings(
|
||||
)._pp_.exportation())
|
||||
duplicated_config.cfgimpl_reset_cache(None, None)
|
||||
if child is not None:
|
||||
duplicated_config._impl_children.append(child)
|
||||
child._impl_meta = weakref.ref(duplicated_config)
|
||||
|
|
|
@ -58,7 +58,6 @@ class Properties(Cache):
|
|||
|
||||
def importation(self, properties):
|
||||
self._properties = properties
|
||||
self.reset_all_cache()
|
||||
|
||||
|
||||
class Permissives(Cache):
|
||||
|
|
|
@ -76,7 +76,6 @@ class Properties(Sqlite3DB):
|
|||
self._session_id,
|
||||
), False)
|
||||
self._storage._conn.commit()
|
||||
self.reset_all_cache()
|
||||
|
||||
|
||||
class Permissives(Sqlite3DB):
|
||||
|
|
Loading…
Reference in New Issue