MCPcopy Create free account
hub / github.com/su-kaka/gcli2api / reload_config_cache

Method reload_config_cache

src/storage/psql_manager.py:849–854  ·  view source on GitHub ↗

重新加载配置缓存

(self)

Source from the content-addressed store, hash-verified

847 return False
848
849 async def reload_config_cache(self) -> None:
850 """重新加载配置缓存"""
851 self._ensure_initialized()
852 self._config_loaded = False
853 await self._load_config_cache()
854 log.info("Config cache reloaded from database")
855
856 async def get_config(self, key: str, default: Any = None) -> Any:
857 """获取配置(从内存缓存)"""

Callers 1

reload_configFunction · 0.45

Calls 3

_ensure_initializedMethod · 0.95
_load_config_cacheMethod · 0.95
infoMethod · 0.80

Tested by

no test coverage detected