-
Notifications
You must be signed in to change notification settings - Fork 9
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
修复mc超时时间未配置时被初始化为100ms的问题 #385
Conversation
endpoint/src/cacheservice/topo.rs
Outdated
crate::TO_MC_M.to(ns.timeout_ms_master) | ||
} else { | ||
crate::TO_MC_M | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
root cause 是 to 方法没有增加判断? 在to()增加check,是不是更佳
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
确实,已按意见修改
endpoint/src/lib.rs
Outdated
const TO_MC_M: Timeout = Timeout::from_millis(500); | ||
const TO_MC_S: Timeout = Timeout::from_millis(80); | ||
const TO_MC_M: Timeout = Timeout::from_millis(100); | ||
const TO_MC_S: Timeout = Timeout::from_millis(100); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
加个注释,备注关注点
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGFM!
No description provided.