提交 4a5f25c0 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!114 fix load data thread stuck in LineageCacheItemUpdater

Merge pull request !114 from wenkai/wk_fix_cache
......@@ -17,7 +17,6 @@
from mindinsight.datavisual.data_transform.data_manager import DATA_MANAGER
from mindinsight.datavisual.common.log import logger
from mindinsight.conf import settings
from mindinsight.lineagemgr.cache_item_updater import LineageCacheItemUpdater
def init_module(app):
......@@ -30,6 +29,6 @@ def init_module(app):
"""
# Just to suppress pylint warning about unused arg.
logger.debug("App: %s", type(app))
DATA_MANAGER.register_brief_cache_item_updater(LineageCacheItemUpdater())
# Register cache item updater here, before start load data.
DATA_MANAGER.start_load_data(reload_interval=int(settings.RELOAD_INTERVAL),
max_threads_count=int(settings.MAX_THREADS_COUNT))
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册