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

agent取消注册问题 #48

Closed
lunaczp opened this issue Sep 25, 2017 · 0 comments
Closed

agent取消注册问题 #48

lunaczp opened this issue Sep 25, 2017 · 0 comments

Comments

@lunaczp
Copy link

lunaczp commented Sep 25, 2017

“在1.7.15以上版本中,当设置dispatch_mode = 1/3时会自动去掉onConnect/onClose事件回调” https://wiki.swoole.com/wiki/page/49.html

咱们的swoole是1.8+,另外默认配置dispatch_mode=3,

'dispatch_mode' => 3,

导致onClose不会被执行,当agent断开时候,server无法摘除agent

public function onClose($serv, $fd, $from_id)

@osgochina 幸苦看下是调整下默认的dispatch_mode或者有别的方案

osgochina added a commit that referenced this issue Sep 25, 2017
@lunaczp lunaczp closed this as completed Sep 25, 2017
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

1 participant