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
概率性预先重计算
currentTime - ( timeToCompute * beta * log(rand()) ) > expiry currentTime 是当前时间戳。 timeToCompute 是重新计算缓存值所花费的时间。 beta 是一个大于 0 的非负数,默认值为 1,是可配置的。 rand()是一个返回 0 到 1 之间随机数的函数。 expiry 是缓存值未来被设置为过期的时间戳。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
概率性预先重计算
The text was updated successfully, but these errors were encountered: