Skip to content

Commit

Permalink
Reset backoffCount after send completed
Browse files Browse the repository at this point in the history
  • Loading branch information
adioss committed Jun 6, 2016
1 parent 9248d0f commit d3ea523
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libbeat/outputs/mode/single.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ func (s *SingleConnectionMode) publish(
goto sendFail
}

backoffCount = 0
debug("send completed")
outputs.SignalCompleted(signaler)
return nil
Expand Down

0 comments on commit d3ea523

Please sign in to comment.