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

sofa-client rpc调用超时控制不准确 #218

Closed
scottzzq opened this issue Nov 16, 2017 · 1 comment
Closed

sofa-client rpc调用超时控制不准确 #218

scottzzq opened this issue Nov 16, 2017 · 1 comment

Comments

@scottzzq
Copy link

下载了最新版本的sofa,client设置调用超时时间是1ms,同步调用方式,每次都是在100ms之后返回超时错误,这个是什么原因呢?

@chukeer
Copy link

chukeer commented Jan 20, 2018

因为超时检查的定时器是以100ms为周期的,所以实际最小的超时时间是100ms

在RpcTimeoutManager::start里可以看到

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