mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-12-13 03:36:06 +08:00
修复微信登录ak本地缓存刷新问题
This commit is contained in:
@@ -120,7 +120,8 @@ func LoggingServeLogHandler(ctx context.Context, in *glog.HandlerInput) {
|
||||
|
||||
// InitTrace 初始化链路追踪
|
||||
func InitTrace(ctx context.Context) {
|
||||
if !g.Cfg().MustGet(ctx, "jaeger.switch").Bool() {
|
||||
JaegerSwitch = g.Cfg().MustGet(ctx, "jaeger.switch").Bool()
|
||||
if !JaegerSwitch {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user