MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / sync_pkg_rule_map

Function sync_pkg_rule_map

server/projects/main/apps/codeproj/tasks/base.py:40–45  ·  view source on GitHub ↗

启动AnalysisServer规则包与规则关系同步任务

()

Source from the content-addressed store, hash-verified

38
39@celery_app.task
40def sync_pkg_rule_map():
41 """启动AnalysisServer规则包与规则关系同步任务
42 """
43 logger.info("Start to drop expired table")
44 result = AnalyseClient().api("sync_pkg_rule_map", data=None)
45 logger.info("drop expired table result: %s" % result)
46
47
48@celery_app.task

Callers

nothing calls this directly

Calls 3

AnalyseClientClass · 0.90
infoMethod · 0.45
apiMethod · 0.45

Tested by

no test coverage detected