🔨 开启 pprof、优化 agent

This commit is contained in:
naiba
2021-05-10 18:04:38 +08:00
parent 842233976b
commit 169865a7e4
8 changed files with 13 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ func (a *AuthHandler) GetRequestMetadata(ctx context.Context, uri ...string) (ma
}
func (a *AuthHandler) RequireTransportSecurity() bool {
return !dao.Conf.Debug
return false
}
func (a *AuthHandler) Check(ctx context.Context) (uint64, error) {