You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
适用场景
以往的单机器单进程,性能比较低,工具排队等待时间过长。希望通过并行执行分析来提高分析效率。
希望尽量使用公共资源或使用专机资源。
为了满足以上需求,TCA已经进行如下支持:
使用手册—常驻节点配置
前置步骤
公共/专有机器上具备客户端。
开源版客户端,需要配置相关环境和依赖,可查阅帮助文档中的开源版客户端使用说明(如下图)
(界面右上角图标点击-帮助文档-Client 客户端)
1.配置 config.ini 文件
将
<Server IP地址>
替换成实际的serve ip(可包含端口号)。2.启动代码分析常驻节点
从TCA前端页面中获取
token
,前往 个人中心-个人令牌-复制Token
。作为公共节点:
token
需要具有超级管理员权限(界面右上角图标点-管理入口-用户管理),如使用CodeDog账户的token
。作为专机节点:该节点仅能分析该token具有权限的项目。
进入到client目录下,执行命令:
python3 codepuppy.py -l codepuppy.log start -t <token>
task loop is started.
,表示节点已经正常启动。3.配置节点
(界面右上角图标点击-管理入口-节点管理)
欢迎使用!:tada:
关注我们,持续为您的代码助力!
QQ交流群:361791391
公众号(腾讯云静态分析)回复「进群」获取官方微信交流群传送门_
Beta Was this translation helpful? Give feedback.
All reactions