Skip to content

Commit

Permalink
br: disable stats for log task (#55261)
Browse files Browse the repository at this point in the history
ref #52088
  • Loading branch information
Leavrth authored Jan 20, 2025
1 parent 2ed1798 commit e9a1f7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions br/cmd/br/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"github.com/pingcap/tidb/br/pkg/trace"
"github.com/pingcap/tidb/br/pkg/utils"
"github.com/pingcap/tidb/br/pkg/version/build"
"github.com/pingcap/tidb/session"
"github.com/spf13/cobra"
"sourcegraph.com/sourcegraph/appdash"
)
Expand All @@ -38,6 +39,7 @@ func NewStreamCommand() *cobra.Command {
build.LogInfo(build.BR)
utils.LogEnvVariables()
task.LogArguments(c)
session.DisableStats4Test()
return nil
},
}
Expand Down

0 comments on commit e9a1f7f

Please sign in to comment.