Skip to content

Commit

Permalink
fix ParsingPoolBacklog
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhichang committed Apr 29, 2021
1 parent 264ce1f commit cd6deec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions task/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ func (service *Service) put(msg model.InputMessage) {
var row *model.Row
var foundNewKeys bool
var metric model.Metric
defer statistics.ParsingPoolBacklog.WithLabelValues(taskCfg.Name).Dec()
p := service.pp.Get()
metric, err = p.Parse(msg.Value)
if err == nil {
Expand Down

0 comments on commit cd6deec

Please sign in to comment.