-
Notifications
You must be signed in to change notification settings - Fork 425
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
可以支持自定义设置RT吗? #548
Comments
咱们这边需要特殊设置的场景是怎样的呢,可否帮忙介绍一下 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/alibaba/sentinel-golang/blob/master/core/stat/stat_slot.go#L68
这个位置是直接设置了rt := util.CurrentTimeMillis() - ctx.StartTime(),调用方就算在前面通过 ctx.PutRT也没法生效,是不是应该通过rt := ctx.RT()获取,如果已经设置过了,就不用覆盖会好一些?
The text was updated successfully, but these errors were encountered: