We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TarsFramework/NodeServer/KeepAliveThread.cpp
Line 316 in 7e7f558
这里判断使用的是KeepAliveThread的启动时间而不是具体的ServerObject的心跳时间 当具体的服务进程通过async_keepalive反馈自身信息时,就有可能没法满足这个条件,导致进程被重复启动.
似乎可以变成这样的代码就ok了?猜测这样,还没完成自测
if ((TNOW - pServerObjectPtr->getLastKeepAliveTime()) < (ServantHandle::HEART_BEAT_INTERVAL + 1))
The text was updated successfully, but these errors were encountered:
欢迎pr~
Sorry, something went wrong.
No branches or pull requests
TarsFramework/NodeServer/KeepAliveThread.cpp
Line 316 in 7e7f558
这里判断使用的是KeepAliveThread的启动时间而不是具体的ServerObject的心跳时间
当具体的服务进程通过async_keepalive反馈自身信息时,就有可能没法满足这个条件,导致进程被重复启动.
似乎可以变成这样的代码就ok了?猜测这样,还没完成自测
The text was updated successfully, but these errors were encountered: