Skip to content

Commit

Permalink
Merge pull request #392 from askuy/feature/optimizecontextcancel
Browse files Browse the repository at this point in the history
EnableConnTcpMetric
  • Loading branch information
askuy authored Jun 7, 2024
2 parents 846b876 + 6aab1ab commit 5f8e627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/egovernor/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (c *Container) Build(options ...Option) *Component {
for _, option := range options {
option(c)
}
if c.config.EnableConnTcp {
if c.config.EnableConnTcpMetric {
obj, err := emetric.NewTCPStatCollector()
if err != nil {
c.logger.Panic("NewTCPStatCollector fail", elog.FieldErr(err))
Expand Down

0 comments on commit 5f8e627

Please sign in to comment.