forked from golang/groupcache
-
Notifications
You must be signed in to change notification settings - Fork 1
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
关于timeout时间设置方面,血的教训 #5
Labels
Comments
现阶段,要牢记groupcahe的工作机制,才能设置好上面几个时间:
这几个名字起得并不好,按字面意思,很容易忽略2这个特性。在第一次 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
groupcache会经过如下3个时期:
load()
数据,除非达到 staleDeadline 时直接返回Cache,其他优先用load()
结果返回;load()
后回填Cache;load()
数据,无超时;The text was updated successfully, but these errors were encountered: