Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hbs是否需要主动和agent建立连接,还是每次进行通信时,均是agent主动建立连接 #10

Open
whxloveyrh opened this issue Aug 28, 2017 · 1 comment

Comments

@whxloveyrh
Copy link

hbs是否需要主动和agent建立连接,还是每次进行通信时,均是agent主动建立连接

hbs是否需要主动和agent建立连接,还是每次进行通信时,均是agent主动建立连接

hbs是否需要主动和agent建立连接,还是每次进行通信时,均是agent主动建立连接

hbs是否需要主动和agent建立连接,还是每次进行通信时,均是agent主动建立连接

@mdh67899
Copy link

mdh67899 commented Oct 9, 2017

看agent/g/rpc.go代码里Call方法,是agent定时去hbs拉取自己需要的Agent.MinePlugins等信息,每次都是新建一个rpc连接,然后等hbs返回自己需要的信息或者超时的时候就会执行close方法断掉rpc连接

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants