From d3ea52390b9ed27f45146c02a862940a037b75be Mon Sep 17 00:00:00 2001 From: adioss Date: Mon, 6 Jun 2016 17:38:31 +0200 Subject: [PATCH] Reset backoffCount after send completed --- libbeat/outputs/mode/single.go | 1 + 1 file changed, 1 insertion(+) diff --git a/libbeat/outputs/mode/single.go b/libbeat/outputs/mode/single.go index 8d2b2d8478d..a0cd1f3fde6 100644 --- a/libbeat/outputs/mode/single.go +++ b/libbeat/outputs/mode/single.go @@ -132,6 +132,7 @@ func (s *SingleConnectionMode) publish( goto sendFail } + backoffCount = 0 debug("send completed") outputs.SignalCompleted(signaler) return nil