提交 99b40573 编写于 作者: W wenkai

fix load data thread stuck in LineageCacheItemUpdater

上级 44416659
......@@ -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.
先完成此消息的编辑!
想要评论请 注册